Andreas Larsson 0e622d3919 of/address: sparc: Declare of_iomap as an extern function for sparc again
This bug-fix makes sure that of_iomap is defined extern for sparc so that the
sparc-specific implementation of_iomap is once again used when including
include/linux/of_address.h in a sparc context. OF_GPIO that is now available for
sparc relies on this.

The bug was inadvertently introduced in a850a75, "of/address: add empty static
inlines for !CONFIG_OF", that added a static dummy inline for of_iomap when
!CONFIG_OF_ADDRESS. However, CONFIG_OF_ADDRESS is never defined for sparc, but
there is a sparc-specific implementation /arch/sparc/kernel/of_device_common.c.

This fix takes the same approach as 0bce04b that solved the equivalent problem
for of_address_to_resource.

Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: David Miller <davem@davemloft.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2012-11-23 22:01:15 +00:00
..
2008-07-27 23:00:59 +02:00
2008-12-09 00:50:13 -08:00
2012-03-28 18:30:03 +01:00
2008-07-27 23:00:59 +02:00
2012-03-28 18:30:03 +01:00
2008-07-27 23:00:59 +02:00
2012-03-28 18:30:03 +01:00
2008-07-27 23:00:59 +02:00
2012-03-28 18:30:03 +01:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2010-07-24 09:57:52 -06:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-08-31 20:56:15 -07:00
2012-05-13 13:23:16 -07:00
2012-03-28 18:30:03 +01:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2008-08-29 02:15:23 -07:00
2011-05-12 13:44:29 -07:00
2008-07-27 23:00:59 +02:00
2011-04-19 22:11:40 -07:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-07-26 16:46:16 -07:00
2008-07-27 23:00:59 +02:00
2012-05-15 10:22:00 -07:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-03-28 18:30:03 +01:00
2012-05-14 14:05:07 -07:00
2008-07-27 23:00:59 +02:00
2012-07-26 16:46:16 -07:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-02-23 20:19:04 -07:00
2012-02-23 20:19:04 -07:00
2012-08-18 23:26:19 -07:00
2012-07-26 16:46:16 -07:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-10-01 09:58:13 -04:00
2008-07-27 23:00:59 +02:00
2012-04-15 10:28:50 -07:00
2008-07-27 23:00:59 +02:00
2011-05-25 08:39:13 -07:00
2008-07-27 23:00:59 +02:00
2011-05-25 08:39:13 -07:00
2012-10-09 16:23:06 +09:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-07-26 16:46:16 -07:00
2008-07-27 23:00:59 +02:00