aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/zorro/names.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/zorro/names.c')
-rw-r--r--drivers/zorro/names.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/zorro/names.c b/drivers/zorro/names.c
index e8517c3d8e82..6f3fd9903ac3 100644
--- a/drivers/zorro/names.c
+++ b/drivers/zorro/names.c
@@ -15,8 +15,6 @@
15#include <linux/zorro.h> 15#include <linux/zorro.h>
16 16
17 17
18#ifdef CONFIG_ZORRO_NAMES
19
20struct zorro_prod_info { 18struct zorro_prod_info {
21 __u16 prod; 19 __u16 prod;
22 unsigned short seen; 20 unsigned short seen;
@@ -69,7 +67,6 @@ void __init zorro_name_device(struct zorro_dev *dev)
69 } while (--i); 67 } while (--i);
70 68
71 /* Couldn't find either the manufacturer nor the product */ 69 /* Couldn't find either the manufacturer nor the product */
72 sprintf(name, "Zorro device %08x", dev->id);
73 return; 70 return;
74 71
75 match_manuf: { 72 match_manuf: {
@@ -98,11 +95,3 @@ void __init zorro_name_device(struct zorro_dev *dev)
98 } 95 }
99 } 96 }
100} 97}
101
102#else
103
104void __init zorro_name_device(struct zorro_dev *dev)
105{
106}
107
108#endif