X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-sparc64%2Ffloppy.h;h=1bc43aaa49eb0333943a7dcf2428c6c3b46fd67e;hb=90ad8654ffeb336af8c878fdf7bc72e2ac72467a;hp=e071b4b4edfd8ec8b92ceb4d3d8edcfc4cd644dc;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/include/asm-sparc64/floppy.h b/include/asm-sparc64/floppy.h index e071b4b4e..1bc43aaa4 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 = NULL; +char *pdma_base = 0; 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 = NULL; + pdma_base = 0; } } @@ -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 = NULL; + struct linux_ebus_device *edev = 0; unsigned long config = 0; unsigned long auxio_reg;