summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2024-08-05 16:20:21 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-13 11:34:55 +0200
commitcdd1fa91a6b8c7cd93b3abf9f3ef05b8ce741b61 (patch)
tree711171c566bcebdc27553ffd1ca94a682050dca8 /arch
parentabfceba0a7a246ac082bf569807738ff7416f59f (diff)
mips: sgi-ip22: Fix the build
Fix a recently introduced build failure. Fixes: d69d80484598 ("driver core: have match() callback in struct bus_type take a const *") Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20240805232026.65087-3-bvanassche@acm.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/sgi-ip22/ip22-gio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip22/ip22-gio.c b/arch/mips/sgi-ip22/ip22-gio.c
index 2738325e98dd..d20eec742bfa 100644
--- a/arch/mips/sgi-ip22/ip22-gio.c
+++ b/arch/mips/sgi-ip22/ip22-gio.c
@@ -111,7 +111,7 @@ void gio_device_unregister(struct gio_device *giodev)
}
EXPORT_SYMBOL_GPL(gio_device_unregister);
-static int gio_bus_match(struct device *dev, struct device_driver *drv)
+static int gio_bus_match(struct device *dev, const struct device_driver *drv)
{
struct gio_device *gio_dev = to_gio_device(dev);
struct gio_driver *gio_drv = to_gio_driver(drv);