X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-sparc64%2Ffloppy.h;h=e071b4b4edfd8ec8b92ceb4d3d8edcfc4cd644dc;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=1bc43aaa49eb0333943a7dcf2428c6c3b46fd67e;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/include/asm-sparc64/floppy.h b/include/asm-sparc64/floppy.h index 1bc43aaa4..e071b4b4e 100644 --- a/include/asm-sparc64/floppy.h +++ b/include/asm-sparc64/floppy.h @@ -164,7 +164,7 @@ unsigned long pdma_size; volatile int doing_pdma = 0; /* This is software state */ -char *pdma_base = 0; +char *pdma_base = NULL; unsigned long pdma_areasize; /* Common routines to all controller types on the Sparc. */ @@ -173,7 +173,7 @@ static void sun_fd_disable_dma(void) doing_pdma = 0; if (pdma_base) { mmu_unlockarea(pdma_base, pdma_areasize); - pdma_base = 0; + pdma_base = NULL; } } @@ -613,7 +613,7 @@ static unsigned long __init sun_floppy_init(void) } else { #ifdef CONFIG_PCI struct linux_ebus *ebus; - struct linux_ebus_device *edev = 0; + struct linux_ebus_device *edev = NULL; unsigned long config = 0; unsigned long auxio_reg;