diff options
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 987f5912720a..1a3686d15f98 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -450,7 +450,7 @@ static inline void set_dev_node(struct device *dev, int node) | |||
450 | } | 450 | } |
451 | #endif | 451 | #endif |
452 | 452 | ||
453 | static inline void *dev_get_drvdata(struct device *dev) | 453 | static inline void *dev_get_drvdata(const struct device *dev) |
454 | { | 454 | { |
455 | return dev->driver_data; | 455 | return dev->driver_data; |
456 | } | 456 | } |