commit | f157b58511e56d418eb582de96fedc4ea03d8061 | [log] [tgz] |
---|---|---|
author | David Miller <davem@davemloft.net> | Wed Mar 03 02:50:26 2010 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Mar 19 07:17:54 2010 -0700 |
tree | 3970689b55694714db91112afcc4e3f3f4dd4601 | |
parent | 352fa6ad16b89f8ffd1a93b4419b1a8f2259feab [diff] |
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> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>