X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fsparc64%2Fkernel%2Febus.c;fp=arch%2Fsparc64%2Fkernel%2Febus.c;h=6ffbeb701940173254301bcad8568a26ee2a79ec;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=044b85837054cdd763e6d55ead4a2036e6e2db52;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/arch/sparc64/kernel/ebus.c b/arch/sparc64/kernel/ebus.c index 044b85837..6ffbeb701 100644 --- a/arch/sparc64/kernel/ebus.c +++ b/arch/sparc64/kernel/ebus.c @@ -267,7 +267,7 @@ void ebus_dma_enable(struct ebus_dma_info *p, int on) } EXPORT_SYMBOL(ebus_dma_enable); -struct linux_ebus *ebus_chain = 0; +struct linux_ebus *ebus_chain = NULL; #ifdef CONFIG_SUN_AUXIO extern void auxio_probe(void); @@ -503,7 +503,7 @@ probe_interrupts: dev->children = ebus_alloc(sizeof(struct linux_ebus_child)); child = dev->children; - child->next = 0; + child->next = NULL; child->parent = dev; child->bus = dev->bus; fill_ebus_child(node, ®s[0], @@ -513,7 +513,7 @@ probe_interrupts: child->next = ebus_alloc(sizeof(struct linux_ebus_child)); child = child->next; - child->next = 0; + child->next = NULL; child->parent = dev; child->bus = dev->bus; fill_ebus_child(node, ®s[0], @@ -563,7 +563,7 @@ void __init ebus_init(void) ebusnd = cookie->prom_node; ebus_chain = ebus = ebus_alloc(sizeof(struct linux_ebus)); - ebus->next = 0; + ebus->next = NULL; ebus->is_rio = is_rio; while (ebusnd) { @@ -606,8 +606,8 @@ void __init ebus_init(void) ebus->devices = ebus_alloc(sizeof(struct linux_ebus_device)); dev = ebus->devices; - dev->next = 0; - dev->children = 0; + dev->next = NULL; + dev->children = NULL; dev->bus = ebus; fill_ebus_device(nd, dev); @@ -615,8 +615,8 @@ void __init ebus_init(void) dev->next = ebus_alloc(sizeof(struct linux_ebus_device)); dev = dev->next; - dev->next = 0; - dev->children = 0; + dev->next = NULL; + dev->children = NULL; dev->bus = ebus; fill_ebus_device(nd, dev); } @@ -633,7 +633,7 @@ void __init ebus_init(void) ebus->next = ebus_alloc(sizeof(struct linux_ebus)); ebus = ebus->next; - ebus->next = 0; + ebus->next = NULL; ebus->is_rio = is_rio; ++num_ebus; }