Skip to content

Commit cdd1fa9

Browse files
bvanasschegregkh
authored andcommitted
mips: sgi-ip22: Fix the build
Fix a recently introduced build failure. Fixes: d69d804 ("driver core: have match() callback in struct bus_type take a const *") Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent abfceba commit cdd1fa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/sgi-ip22/ip22-gio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void gio_device_unregister(struct gio_device *giodev)
111111
}
112112
EXPORT_SYMBOL_GPL(gio_device_unregister);
113113

114-
static int gio_bus_match(struct device *dev, struct device_driver *drv)
114+
static int gio_bus_match(struct device *dev, const struct device_driver *drv)
115115
{
116116
struct gio_device *gio_dev = to_gio_device(dev);
117117
struct gio_driver *gio_drv = to_gio_driver(drv);

0 commit comments

Comments
 (0)