summaryrefslogtreecommitdiff
path: root/include/linux/zorro.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/zorro.h')
-rw-r--r--include/linux/zorro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/zorro.h b/include/linux/zorro.h
index db7416ed6057..f36c8d39553d 100644
--- a/include/linux/zorro.h
+++ b/include/linux/zorro.h
@@ -52,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) \