diff options
Diffstat (limited to 'drivers/ide/pci/jmicron.c')
-rw-r--r-- | drivers/ide/pci/jmicron.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/pci/jmicron.c b/drivers/ide/pci/jmicron.c index 39e221b076e2..545b6e172d9b 100644 --- a/drivers/ide/pci/jmicron.c +++ b/drivers/ide/pci/jmicron.c | |||
@@ -12,6 +12,8 @@ | |||
12 | #include <linux/ide.h> | 12 | #include <linux/ide.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | 14 | ||
15 | #define DRV_NAME "jmicron" | ||
16 | |||
15 | typedef enum { | 17 | typedef enum { |
16 | PORT_PATA0 = 0, | 18 | PORT_PATA0 = 0, |
17 | PORT_PATA1 = 1, | 19 | PORT_PATA1 = 1, |
@@ -102,7 +104,7 @@ static const struct ide_port_ops jmicron_port_ops = { | |||
102 | }; | 104 | }; |
103 | 105 | ||
104 | static const struct ide_port_info jmicron_chipset __devinitdata = { | 106 | static const struct ide_port_info jmicron_chipset __devinitdata = { |
105 | .name = "JMB", | 107 | .name = DRV_NAME, |
106 | .enablebits = { { 0x40, 0x01, 0x01 }, { 0x40, 0x10, 0x10 } }, | 108 | .enablebits = { { 0x40, 0x01, 0x01 }, { 0x40, 0x10, 0x10 } }, |
107 | .port_ops = &jmicron_port_ops, | 109 | .port_ops = &jmicron_port_ops, |
108 | .pio_mask = ATA_PIO5, | 110 | .pio_mask = ATA_PIO5, |