From: Bartlomiej Zolnierkiewicz Date: Sat, 26 Apr 2008 15:36:35 +0000 (+0200) Subject: ht6560b: use driver name for resource allocation X-Git-Tag: v2.6.26-rc1~1044^2~45 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2e4ed2955d0de73cd43793ff495ea027e9fd2f44;p=linux-2.6-omap-h63xx.git ht6560b: use driver name for resource allocation Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/legacy/ht6560b.c b/drivers/ide/legacy/ht6560b.c index 88fe9070c9c..fd21209025e 100644 --- a/drivers/ide/legacy/ht6560b.c +++ b/drivers/ide/legacy/ht6560b.c @@ -35,6 +35,7 @@ * Try: http://www.maf.iki.fi/~maf/ht6560b/ */ +#define DRV_NAME "ht6560b" #define HT6560B_VERSION "v0.08" #include @@ -348,7 +349,7 @@ static int __init ht6560b_init(void) hwif = &ide_hwifs[0]; mate = &ide_hwifs[1]; - if (!request_region(HT_CONFIG_PORT, 1, hwif->name)) { + if (!request_region(HT_CONFIG_PORT, 1, DRV_NAME)) { printk(KERN_NOTICE "%s: HT_CONFIG_PORT not found\n", __FUNCTION__); return -ENODEV;