summaryrefslogtreecommitdiffstats
path: root/drivers/zorro/zorro.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/zorro/zorro.h')
-rw-r--r--drivers/zorro/zorro.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/zorro/zorro.h b/drivers/zorro/zorro.h
index b682d5ccd63..34119fb4e56 100644
--- a/drivers/zorro/zorro.h
+++ b/drivers/zorro/zorro.h
@@ -1,4 +1,9 @@
+#ifdef CONFIG_ZORRO_NAMES
extern void zorro_name_device(struct zorro_dev *z);
+#else
+static inline void zorro_name_device(struct zorro_dev *dev) { }
+#endif
+
extern int zorro_create_sysfs_dev_files(struct zorro_dev *z);