diff options
Diffstat (limited to 'arch/sparc/include/asm/sbus_32.h')
-rw-r--r-- | arch/sparc/include/asm/sbus_32.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/sparc/include/asm/sbus_32.h b/arch/sparc/include/asm/sbus_32.h index 8f5900baca32..9f35ae870b59 100644 --- a/arch/sparc/include/asm/sbus_32.h +++ b/arch/sparc/include/asm/sbus_32.h | |||
@@ -65,8 +65,6 @@ struct sbus_bus { | |||
65 | }; | 65 | }; |
66 | #define to_sbus(d) container_of(d, struct sbus_bus, ofdev.dev) | 66 | #define to_sbus(d) container_of(d, struct sbus_bus, ofdev.dev) |
67 | 67 | ||
68 | extern struct sbus_bus *sbus_root; | ||
69 | |||
70 | static inline int | 68 | static inline int |
71 | sbus_is_slave(struct sbus_dev *dev) | 69 | sbus_is_slave(struct sbus_dev *dev) |
72 | { | 70 | { |
@@ -74,17 +72,6 @@ sbus_is_slave(struct sbus_dev *dev) | |||
74 | return 0; | 72 | return 0; |
75 | } | 73 | } |
76 | 74 | ||
77 | /* Device probing routines could find these handy */ | ||
78 | #define for_each_sbus(bus) \ | ||
79 | for((bus) = sbus_root; (bus); (bus)=(bus)->next) | ||
80 | |||
81 | #define for_each_sbusdev(device, bus) \ | ||
82 | for((device) = (bus)->devices; (device); (device)=(device)->next) | ||
83 | |||
84 | #define for_all_sbusdev(device, bus) \ | ||
85 | for ((bus) = sbus_root; (bus); (bus) = (bus)->next) \ | ||
86 | for ((device) = (bus)->devices; (device); (device) = (device)->next) | ||
87 | |||
88 | /* These yield IOMMU mappings in consistent mode. */ | 75 | /* These yield IOMMU mappings in consistent mode. */ |
89 | void prom_adjust_ranges(struct linux_prom_ranges *, int, | 76 | void prom_adjust_ranges(struct linux_prom_ranges *, int, |
90 | struct linux_prom_ranges *, int); | 77 | struct linux_prom_ranges *, int); |