i2c: i2c-bcm-kona: Fix module build
PATCH 1/1 i2c: i2c-bcm-kona: Fix module build
Correct a typo that prevented the driver from being built as a module.
Signed-off-by Tim Kryger <[email protected]>
--- drivers/i2c/busses/i2c-bcm-kona.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/i2c-bcm-kona.c +1 -1
@@ -891,7 +891,7 @@ static const struct of_device_id bcm_kona_i2c_of_match[] = { {.compatible = "brcm,kona-i2c",}, {}, }; -MODULE_DEVICE_TABLE (of, kona_i2c_of_match); +MODULE_DEVICE_TABLE (of, bcm_kona_i2c_of_match);static struct platform_driver bcm_kona_i2c_driver = { .driver = {
Signature · 1 line
1.8.0.1
Wolfram Sang
AppliedQuoted 3 lines · Tim Kryger
Correct a typo that prevented the driver from being built as a module.
Signed-off-by Tim Kryger <[email protected]>
Applied to for-current, thanks!
Have you also tried repeated module loading/unloading?
Quoted 1 line · Wolfram Sang
Have you also tried repeated module loading/unloading?
I ran a loop of insmod + rmmod 1000 times and didn't see any issues.
Thanks,
Tim Kryger