ARM: msm: io: Change the default static iomappings to be shared
authorRohit Vaswani <rvaswani@codeaurora.org>
Fri, 7 Sep 2012 20:05:56 +0000 (13:05 -0700)
committerDavid Brown <davidb@codeaurora.org>
Thu, 13 Sep 2012 17:42:55 +0000 (10:42 -0700)
commit90eb385fd1bad5d4b7ad419d29763b28dd9d05a6
tree1af9bc08290353aaef217e2a989b3bf83cd6684a
parent460709a6f12cced5c7a7e675521812e63ba1e1be
ARM: msm: io: Change the default static iomappings to be shared

With 3.4 kernel the static iomappings can be shared with the ioremap
mappings. If ioremap is called with an address for which a static
mapping already exists, then that mapping should be used instead
of creating a new one.

However, the MT_DEVICE_NONSHARED flag prevents this. Hence, get rid
of this flag. Some targets (7X00) that require the static iomappings
to be NONSHARED use the MSM_DEVICE_TYPE and MSM_CHIP_DEVICE_TYPE macros.

Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/io.c