summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2015-07-01 09:10:43 +0200
committerRob Herring <robh@kernel.org>2015-07-27 15:23:27 +0200
commit35068ce8cbf1749ef1a4b9b1493af83b8488c37b (patch)
treef0ba38c7052b8722bb14f304d2618fcb8b6bcff8 /Documentation
parentof: add HAS_IOMEM depends to OF_ADDRESS (diff)
downloadlinux-35068ce8cbf1749ef1a4b9b1493af83b8488c37b.tar.xz
linux-35068ce8cbf1749ef1a4b9b1493af83b8488c37b.zip
of: constify drv arg of of_driver_match_device stub
With this change the stub has the same signature as the actual function, preventing this compiler warning when building without CONFIG_OF: drivers/base/property.c: In function 'fwnode_driver_match_device': >> drivers/base/property.c:608:38: warning: passing argument 2 of 'of_driver_match_device' discards 'const' qualifier from pointer target type return of_driver_match_device(dev, drv); ^ In file included from drivers/base/property.c:18:0: include/linux/of_device.h:61:19: note: expected 'struct device_driver *' but argument is of type 'const struct device_driver *' static inline int of_driver_match_device(struct device *dev, ^ Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions