aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/legacy/ht6560b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/legacy/ht6560b.c b/drivers/ide/legacy/ht6560b.c
index 88fe9070c9c3..fd21209025e1 100644
--- a/drivers/ide/legacy/ht6560b.c
+++ b/drivers/ide/legacy/ht6560b.c
@@ -35,6 +35,7 @@
35 * Try: http://www.maf.iki.fi/~maf/ht6560b/ 35 * Try: http://www.maf.iki.fi/~maf/ht6560b/
36 */ 36 */
37 37
38#define DRV_NAME "ht6560b"
38#define HT6560B_VERSION "v0.08" 39#define HT6560B_VERSION "v0.08"
39 40
40#include <linux/module.h> 41#include <linux/module.h>
@@ -348,7 +349,7 @@ static int __init ht6560b_init(void)
348 hwif = &ide_hwifs[0]; 349 hwif = &ide_hwifs[0];
349 mate = &ide_hwifs[1]; 350 mate = &ide_hwifs[1];
350 351
351 if (!request_region(HT_CONFIG_PORT, 1, hwif->name)) { 352 if (!request_region(HT_CONFIG_PORT, 1, DRV_NAME)) {
352 printk(KERN_NOTICE "%s: HT_CONFIG_PORT not found\n", 353 printk(KERN_NOTICE "%s: HT_CONFIG_PORT not found\n",
353 __FUNCTION__); 354 __FUNCTION__);
354 return -ENODEV; 355 return -ENODEV;