mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
sparc: Remove dinky old-style SBUS probing facilities.
No drivers or code uses this stuff any more, every driver has been converted over to OF device probing. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
104364810f
commit
98261dd1a3
5 changed files with 0 additions and 42 deletions
|
@ -65,8 +65,6 @@ struct sbus_bus {
|
|||
};
|
||||
#define to_sbus(d) container_of(d, struct sbus_bus, ofdev.dev)
|
||||
|
||||
extern struct sbus_bus *sbus_root;
|
||||
|
||||
static inline int
|
||||
sbus_is_slave(struct sbus_dev *dev)
|
||||
{
|
||||
|
@ -74,17 +72,6 @@ sbus_is_slave(struct sbus_dev *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* Device probing routines could find these handy */
|
||||
#define for_each_sbus(bus) \
|
||||
for((bus) = sbus_root; (bus); (bus)=(bus)->next)
|
||||
|
||||
#define for_each_sbusdev(device, bus) \
|
||||
for((device) = (bus)->devices; (device); (device)=(device)->next)
|
||||
|
||||
#define for_all_sbusdev(device, bus) \
|
||||
for ((bus) = sbus_root; (bus); (bus) = (bus)->next) \
|
||||
for ((device) = (bus)->devices; (device); (device) = (device)->next)
|
||||
|
||||
/* These yield IOMMU mappings in consistent mode. */
|
||||
void prom_adjust_ranges(struct linux_prom_ranges *, int,
|
||||
struct linux_prom_ranges *, int);
|
||||
|
|
|
@ -66,19 +66,6 @@ struct sbus_bus {
|
|||
};
|
||||
#define to_sbus(d) container_of(d, struct sbus_bus, ofdev.dev)
|
||||
|
||||
extern struct sbus_bus *sbus_root;
|
||||
|
||||
/* Device probing routines could find these handy */
|
||||
#define for_each_sbus(bus) \
|
||||
for((bus) = sbus_root; (bus); (bus)=(bus)->next)
|
||||
|
||||
#define for_each_sbusdev(device, bus) \
|
||||
for((device) = (bus)->devices; (device); (device)=(device)->next)
|
||||
|
||||
#define for_all_sbusdev(device, bus) \
|
||||
for ((bus) = sbus_root; (bus); (bus) = (bus)->next) \
|
||||
for ((device) = (bus)->devices; (device); (device) = (device)->next)
|
||||
|
||||
extern void sbus_setup_iommu(struct sbus_bus *, struct device_node *);
|
||||
extern int sbus_arch_preinit(void);
|
||||
extern void sbus_arch_postinit(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue