summaryrefslogtreecommitdiffstats
path: root/drivers/video/aty/radeonfb.h
diff options
context:
space:
mode:
authorDavid S. Miller2007-03-29 10:33:46 +0200
committerDavid S. Miller2007-04-26 10:54:44 +0200
commit9f47df264fa53e562cafa0de4a405d0846a81fbd (patch)
tree539ca4500b273844f7378c41da8bc189c719d724 /drivers/video/aty/radeonfb.h
parent[SPARC]: Use strcasecmp for OFW property name comparisons. (diff)
downloadkernel-qcow2-linux-9f47df264fa53e562cafa0de4a405d0846a81fbd.tar.gz
kernel-qcow2-linux-9f47df264fa53e562cafa0de4a405d0846a81fbd.tar.xz
kernel-qcow2-linux-9f47df264fa53e562cafa0de4a405d0846a81fbd.zip
[RADEON]: Probe clocks and monitor using OF properties on sparc.
Just like powerpc does. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video/aty/radeonfb.h')
-rw-r--r--drivers/video/aty/radeonfb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/aty/radeonfb.h b/drivers/video/aty/radeonfb.h
index d5ff224a6258..319000360285 100644
--- a/drivers/video/aty/radeonfb.h
+++ b/drivers/video/aty/radeonfb.h
@@ -16,7 +16,7 @@
#include <asm/io.h>
-#ifdef CONFIG_PPC_OF
+#if defined(CONFIG_PPC_OF) || defined(CONFIG_SPARC)
#include <asm/prom.h>
#endif
@@ -292,7 +292,7 @@ struct radeonfb_info {
unsigned long fb_local_base;
struct pci_dev *pdev;
-#ifdef CONFIG_PPC_OF
+#if defined(CONFIG_PPC_OF) || defined(CONFIG_SPARC)
struct device_node *of_node;
#endif