diff options
Diffstat (limited to 'drivers/eisa/eisa-bus.c')
-rw-r--r-- | drivers/eisa/eisa-bus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/eisa/eisa-bus.c b/drivers/eisa/eisa-bus.c index 65dcf0432653..c950bf8606d9 100644 --- a/drivers/eisa/eisa-bus.c +++ b/drivers/eisa/eisa-bus.c | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | struct eisa_device_info { | 23 | struct eisa_device_info { |
24 | struct eisa_device_id id; | 24 | struct eisa_device_id id; |
25 | char name[DEVICE_NAME_SIZE]; | 25 | char name[50]; |
26 | }; | 26 | }; |
27 | 27 | ||
28 | #ifdef CONFIG_EISA_NAMES | 28 | #ifdef CONFIG_EISA_NAMES |
@@ -63,7 +63,7 @@ static void __init eisa_name_device (struct eisa_device *edev) | |||
63 | if (!strcmp (edev->id.sig, eisa_table[i].id.sig)) { | 63 | if (!strcmp (edev->id.sig, eisa_table[i].id.sig)) { |
64 | strlcpy (edev->pretty_name, | 64 | strlcpy (edev->pretty_name, |
65 | eisa_table[i].name, | 65 | eisa_table[i].name, |
66 | DEVICE_NAME_SIZE); | 66 | sizeof(edev->pretty_name)); |
67 | return; | 67 | return; |
68 | } | 68 | } |
69 | } | 69 | } |