1. 10 7月, 2011 3 次提交
    • P
      omap_hwmod: use a terminator record with omap_hwmod_mpu_irqs arrays · 212738a4
      Paul Walmsley 提交于
      Previously, struct omap_hwmod_mpu_irqs arrays were unterminated; and
      users of these arrays used the ARRAY_SIZE() macro to determine the
      length of the array.  However, ARRAY_SIZE() only works when the array
      is in the same scope as the macro user.
      
      So far this hasn't been a problem.  However, to reduce duplicated
      data, a subsequent patch will move common data to a separate, shared
      file.  When this is done, ARRAY_SIZE() will no longer be usable.
      
      This patch removes ARRAY_SIZE() usage for struct omap_hwmod_mpu_irqs
      arrays and uses a sentinel value (irq == -1) as the array terminator
      instead.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      212738a4
    • P
      omap_hwmod: share identical omap_hwmod_addr_space arrays · ded11383
      Paul Walmsley 提交于
      To reduce kernel source file data duplication, share struct
      omap_hwmod_addr_space arrays across OMAP2xxx and 3xxx hwmod data
      files.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      ded11383
    • P
      omap_hwmod: use a null structure record to terminate omap_hwmod_addr_space arrays · 78183f3f
      Paul Walmsley 提交于
      Previously, struct omap_hwmod_addr_space arrays were unterminated; and
      users of these arrays used the ARRAY_SIZE() macro to determine the
      length of the array.  However, ARRAY_SIZE() only works when the array
      is in the same scope as the macro user.
      
      So far this hasn't been a problem.  However, to reduce duplicated
      data, a subsequent patch will move common data to a separate, shared
      file.  When this is done, ARRAY_SIZE() will no longer be usable.
      
      This patch removes ARRAY_SIZE() usage for struct omap_hwmod_addr_space
      arrays and uses a null structure member as the array terminator
      instead.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      
      
      
      
      78183f3f
  2. 08 7月, 2011 4 次提交
  3. 04 7月, 2011 4 次提交
  4. 30 6月, 2011 1 次提交
  5. 29 6月, 2011 6 次提交
  6. 28 6月, 2011 6 次提交
  7. 21 6月, 2011 6 次提交
  8. 20 6月, 2011 5 次提交
  9. 16 6月, 2011 1 次提交
  10. 14 6月, 2011 4 次提交