]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/device.h
i2c: Constify i2c_get_clientdata's parameter
[linux-2.6-omap-h63xx.git] / include / linux / device.h
index 987f5912720a2d6ffd6d32a33a062e3b4ef27892..1a3686d15f98f4877dcaad25b393201f6c95640b 100644 (file)
@@ -450,7 +450,7 @@ static inline void set_dev_node(struct device *dev, int node)
 }
 #endif
 
-static inline void *dev_get_drvdata(struct device *dev)
+static inline void *dev_get_drvdata(const struct device *dev)
 {
        return dev->driver_data;
 }