diff options
Diffstat (limited to 'drivers/ide/pci/rz1000.c')
-rw-r--r-- | drivers/ide/pci/rz1000.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/pci/rz1000.c b/drivers/ide/pci/rz1000.c index f7a3b9aff29d..8d11ee838a2a 100644 --- a/drivers/ide/pci/rz1000.c +++ b/drivers/ide/pci/rz1000.c | |||
@@ -21,6 +21,8 @@ | |||
21 | #include <linux/ide.h> | 21 | #include <linux/ide.h> |
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | 23 | ||
24 | #define DRV_NAME "rz1000" | ||
25 | |||
24 | static void __devinit init_hwif_rz1000 (ide_hwif_t *hwif) | 26 | static void __devinit init_hwif_rz1000 (ide_hwif_t *hwif) |
25 | { | 27 | { |
26 | struct pci_dev *dev = to_pci_dev(hwif->dev); | 28 | struct pci_dev *dev = to_pci_dev(hwif->dev); |
@@ -40,7 +42,7 @@ static void __devinit init_hwif_rz1000 (ide_hwif_t *hwif) | |||
40 | } | 42 | } |
41 | 43 | ||
42 | static const struct ide_port_info rz1000_chipset __devinitdata = { | 44 | static const struct ide_port_info rz1000_chipset __devinitdata = { |
43 | .name = "RZ100x", | 45 | .name = DRV_NAME, |
44 | .init_hwif = init_hwif_rz1000, | 46 | .init_hwif = init_hwif_rz1000, |
45 | .chipset = ide_rz1000, | 47 | .chipset = ide_rz1000, |
46 | .host_flags = IDE_HFLAG_NO_DMA, | 48 | .host_flags = IDE_HFLAG_NO_DMA, |