aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/zorro.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/zorro.h')
-rw-r--r--include/linux/zorro.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/zorro.h b/include/linux/zorro.h
index e2e4de188d84..f36c8d39553d 100644
--- a/include/linux/zorro.h
+++ b/include/linux/zorro.h
@@ -29,7 +29,6 @@
struct zorro_dev {
struct ExpansionRom rom;
zorro_id id;
- struct zorro_driver *driver; /* which driver has allocated this device */
struct device dev; /* Generic device interface */
u16 slotaddr;
u16 slotsize;
@@ -53,7 +52,7 @@ struct zorro_driver {
struct device_driver driver;
};
-#define to_zorro_driver(drv) container_of(drv, struct zorro_driver, driver)
+#define to_zorro_driver(drv) container_of_const(drv, struct zorro_driver, driver)
#define zorro_for_each_dev(dev) \