mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 17:22:07 +00:00
ARM: riscpc: ecard: Fix the build
Fix a recently introduced build failure.
Cc: Russell King <rmk+kernel@armlinux.org.uk>
Fixes: d69d804845
("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-2-bvanassche@acm.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7c626ce4ba
commit
abfceba0a7
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user