projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abfceba
)
mips: sgi-ip22: Fix the build
author
Bart Van Assche
<bvanassche@acm.org>
Mon, 5 Aug 2024 23:20:21 +0000
(16:20 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 13 Aug 2024 09:34:55 +0000
(11:34 +0200)
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>
arch/mips/sgi-ip22/ip22-gio.c
patch
|
blob
|
history
diff --git
a/arch/mips/sgi-ip22/ip22-gio.c
b/arch/mips/sgi-ip22/ip22-gio.c
index 2738325e98dd0900539d65ba34956ce434bfc139..d20eec742bfaab6fdc0238f1926e98189a25fa5b 100644
(file)
--- 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);