uartlite: Fix build on sparc.
authorDavid Miller <davem@davemloft.net>
Wed, 10 Mar 2010 21:05:35 +0000 (14:05 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 10 Mar 2010 21:10:41 +0000 (14:10 -0700)
We can get this driver enabled via MFD_TIMBERDALE which only
requires GPIO to be on.

But the of_address_to_resource() function is only present on
powerpc and microblaze, so we have to conditionalize the
CONFIG_OF probing bits on that.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/serial/uartlite.c

Simple merge