1. 10 Jul, 2011 1 commit
    • 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 4 commits
  11. 13 Jun, 2011 2 commits