while((this_node = prom_getsibling(this_node)) != 0) {
this_dev->next = kmalloc(sizeof(struct sbus_dev), GFP_ATOMIC);
this_dev = this_dev->next;
- this_dev->next = 0;
+ this_dev->next = NULL;
this_dev->parent = parent;
this_dev->bus = sbus;
this_dev->child = kmalloc(sizeof(struct sbus_dev),
GFP_ATOMIC);
this_dev->child->bus = sbus;
- this_dev->child->next = 0;
+ this_dev->child->next = NULL;
fill_sbus_device(prom_getchild(this_node), this_dev->child);
sbus_do_child_siblings(prom_getchild(this_node),
this_dev->child, this_dev, sbus);
extern void register_proc_sparc_ioport(void);
extern void firetruck_init(void);
+#ifdef CONFIG_SUN4
+extern void sun4_dvma_init(void);
+#endif
+
static int __init sbus_init(void)
{
int nd, this_sbus, sbus_devs, topnd, iommund;
GFP_ATOMIC);
/* Fill it */
this_dev->child->bus = sbus;
- this_dev->child->next = 0;
+ this_dev->child->next = NULL;
fill_sbus_device(prom_getchild(sbus_devs),
this_dev->child);
sbus_do_child_siblings(prom_getchild(sbus_devs),
GFP_ATOMIC);
/* Fill it */
this_dev->child->bus = sbus;
- this_dev->child->next = 0;
+ this_dev->child->next = NULL;
fill_sbus_device(prom_getchild(sbus_devs),
this_dev->child);
sbus_do_child_siblings(prom_getchild(sbus_devs),