Merge tag 'driver-core-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core

Pull driver core fixes from Greg KH:
"Here are two driver fixes for regressions from 6.11-rc1 due to the
driver core change making a structure in a driver core callback const.

These were missed by all testing EXCEPT for what Bart happened to be
running, so I appreciate the fixes provided here for some
odd/not-often-used driver subsystems that nothing else happened to
catch.

Both of these fixes have been in linux-next all week with no reported
issues"

* tag 'driver-core-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
mips: sgi-ip22: Fix the build
ARM: riscpc: ecard: Fix the build

+2 -2
+1 -1
arch/arm/mach-rpc/ecard.c
··· 1109 driver_unregister(&drv->drv); 1110 } 1111 1112 - static int ecard_match(struct device *_dev, struct device_driver *_drv) 1113 { 1114 struct expansion_card *ec = ECARD_DEV(_dev); 1115 struct ecard_driver *drv = ECARD_DRV(_drv);
··· 1109 driver_unregister(&drv->drv); 1110 } 1111 1112 + static int ecard_match(struct device *_dev, const struct device_driver *_drv) 1113 { 1114 struct expansion_card *ec = ECARD_DEV(_dev); 1115 struct ecard_driver *drv = ECARD_DRV(_drv);
+1 -1
arch/mips/sgi-ip22/ip22-gio.c
··· 111 } 112 EXPORT_SYMBOL_GPL(gio_device_unregister); 113 114 - static int gio_bus_match(struct device *dev, struct device_driver *drv) 115 { 116 struct gio_device *gio_dev = to_gio_device(dev); 117 struct gio_driver *gio_drv = to_gio_driver(drv);
··· 111 } 112 EXPORT_SYMBOL_GPL(gio_device_unregister); 113 114 + static int gio_bus_match(struct device *dev, const struct device_driver *drv) 115 { 116 struct gio_device *gio_dev = to_gio_device(dev); 117 struct gio_driver *gio_drv = to_gio_driver(drv);