summaryrefslogtreecommitdiff
path: root/drivers/zorro/zorro.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/zorro/zorro.h')
-rw-r--r--drivers/zorro/zorro.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/zorro/zorro.h b/drivers/zorro/zorro.h
index b682d5ccd63f..df44e35203fd 100644
--- a/drivers/zorro/zorro.h
+++ b/drivers/zorro/zorro.h
@@ -1,4 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+ /*
+ * Zorro bus
+ */
+
+extern const struct bus_type zorro_bus_type;
+
+
+#ifdef CONFIG_ZORRO_NAMES
extern void zorro_name_device(struct zorro_dev *z);
-extern int zorro_create_sysfs_dev_files(struct zorro_dev *z);
+#else
+static inline void zorro_name_device(struct zorro_dev *dev) { }
+#endif
+extern const struct attribute_group *zorro_device_attribute_groups[];