From bbb136cc88ec2da81f48c3dbe7c96f198174f639 Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Sat, 26 Apr 2008 17:36:35 +0200 Subject: [PATCH] --- yaml --- r: 93547 b: refs/heads/master c: 2e4ed2955d0de73cd43793ff495ea027e9fd2f44 h: refs/heads/master i: 93545: c434f5786d68c18502fe2529942f868522f81b3b 93543: b0a3d0c74c61c5b45cf21f02bda21aa23fce627e v: v3 --- [refs] | 2 +- trunk/drivers/ide/legacy/ht6560b.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 672964b79ef6..1b99977e7497 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d147e7d8f22c18cfb879513e8e1e10fa52f9789e +refs/heads/master: 2e4ed2955d0de73cd43793ff495ea027e9fd2f44 diff --git a/trunk/drivers/ide/legacy/ht6560b.c b/trunk/drivers/ide/legacy/ht6560b.c index 88fe9070c9c3..fd21209025e1 100644 --- a/trunk/drivers/ide/legacy/ht6560b.c +++ b/trunk/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;