1. 10 Jul, 2011 5 commits
    • Paul Walmsley's avatar
      omap_hwmod: use a terminator record with omap_hwmod_dma_info arrays · bc614958
      Paul Walmsley authored
      Previously, struct omap_hwmod_dma_info 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_dma_info
      arrays and uses a sentinel value (irq == -1) as the array terminator
      instead.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      bc614958
    • Paul Walmsley's avatar
      omap_hwmod: share identical omap_hwmod_mpu_irqs arrays · 0d619a89
      Paul Walmsley authored
      To reduce kernel source file data duplication, share struct
      omap_hwmod_mpu_irqs arrays across OMAP2xxx and 3xxx hwmod data files.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      0d619a89
    • Paul Walmsley's avatar
      omap_hwmod: use a terminator record with omap_hwmod_mpu_irqs arrays · 212738a4
      Paul Walmsley authored
      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: default avatarPaul Walmsley <paul@pwsan.com>
      212738a4
    • Paul Walmsley's avatar
      omap_hwmod: share identical omap_hwmod_addr_space arrays · ded11383
      Paul Walmsley authored
      To reduce kernel source file data duplication, share struct
      omap_hwmod_addr_space arrays across OMAP2xxx and 3xxx hwmod data
      files.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      ded11383
    • Paul Walmsley's avatar
      omap_hwmod: use a null structure record to terminate omap_hwmod_addr_space arrays · 78183f3f
      Paul Walmsley authored
      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: default avatarPaul Walmsley <paul@pwsan.com>
      
      
      
      
      78183f3f
  2. 08 Jul, 2011 1 commit
  3. 07 Jul, 2011 3 commits
  4. 04 Jul, 2011 4 commits
  5. 30 Jun, 2011 1 commit
  6. 29 Jun, 2011 6 commits
  7. 27 Jun, 2011 6 commits
  8. 20 Jun, 2011 11 commits
  9. 16 Jun, 2011 1 commit
  10. 14 Jun, 2011 2 commits