author: Suzuki K Poulose <suzuki.poulose@arm.com> 2019-06-14 18:53:59 +0100
committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2019-06-24 05:22:31 +0200
commit: 418e3ea157efb0eb2c6dd412a8d5f052477c7f5a
parent: e6374f6b2e9c9f9a7cf5418157ad7f30f3abd70e
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/drivers/visorbus/visorbus_main.c b/drivers/visorbus/visorbus_main.c
index 0b2434cc4ecd..152fd29f04f2 100644
--- a/drivers/visorbus/visorbus_main.c
+++ b/drivers/visorbus/visorbus_main.c
@@ -171,10 +171,10 @@ struct visor_busdev {
u32 dev_no;
};
-static int match_visorbus_dev_by_id(struct device *dev, void *data)
+static int match_visorbus_dev_by_id(struct device *dev, const void *data)
{
struct visor_device *vdev = to_visor_device(dev);
- struct visor_busdev *id = data;
+ const struct visor_busdev *id = data;
if (vdev->chipset_bus_no == id->bus_no &&
vdev->chipset_dev_no == id->dev_no)