Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

extcon: max8997: Add missing modalias string

The platform device driver name is "max8997-muic", so advertise it
properly in the modalias string. This fixes automated module loading when
this driver is compiled as a module.

Fixes: b76668ba8a77 ("Extcon: add MAX8997 extcon driver")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>

authored by

Marek Szyprowski and committed by
Chanwoo Choi
dc11fc29 d25b224f

+1
+1
drivers/extcon/extcon-max8997.c
··· 788 788 MODULE_DESCRIPTION("Maxim MAX8997 Extcon driver"); 789 789 MODULE_AUTHOR("Donggeun Kim <dg77.kim@samsung.com>"); 790 790 MODULE_LICENSE("GPL"); 791 + MODULE_ALIAS("platform:max8997-muic");