Commit ccdbf91f authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'driver-core-6.11-rc4' of...

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
parents e1bc1132 cdd1fa91
...@@ -1109,7 +1109,7 @@ void ecard_remove_driver(struct ecard_driver *drv) ...@@ -1109,7 +1109,7 @@ void ecard_remove_driver(struct ecard_driver *drv)
driver_unregister(&drv->drv); driver_unregister(&drv->drv);
} }
static int ecard_match(struct device *_dev, struct device_driver *_drv) static int ecard_match(struct device *_dev, const struct device_driver *_drv)
{ {
struct expansion_card *ec = ECARD_DEV(_dev); struct expansion_card *ec = ECARD_DEV(_dev);
struct ecard_driver *drv = ECARD_DRV(_drv); struct ecard_driver *drv = ECARD_DRV(_drv);
......
...@@ -111,7 +111,7 @@ void gio_device_unregister(struct gio_device *giodev) ...@@ -111,7 +111,7 @@ void gio_device_unregister(struct gio_device *giodev)
} }
EXPORT_SYMBOL_GPL(gio_device_unregister); 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_device *gio_dev = to_gio_device(dev);
struct gio_driver *gio_drv = to_gio_driver(drv); struct gio_driver *gio_drv = to_gio_driver(drv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment