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)
commit07081fd8587478849b69d7b41596e81ff5a7f532
treefca06165fadb4390c56cb9c530b05c0d5318c6d9
parent57d54889cd00db2752994b389ba714138652e60c
uartlite: Fix build on sparc.

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