Skip to content

Commit abfceba

Browse files
bvanasschegregkh
authored andcommitted
ARM: riscpc: ecard: Fix the build
Fix a recently introduced build failure. Cc: Russell King <[email protected]> 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 7c626ce commit abfceba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mach-rpc/ecard.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ void ecard_remove_driver(struct ecard_driver *drv)
11091109
driver_unregister(&drv->drv);
11101110
}
11111111

1112-
static int ecard_match(struct device *_dev, struct device_driver *_drv)
1112+
static int ecard_match(struct device *_dev, const struct device_driver *_drv)
11131113
{
11141114
struct expansion_card *ec = ECARD_DEV(_dev);
11151115
struct ecard_driver *drv = ECARD_DRV(_drv);

0 commit comments

Comments
 (0)