These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / mfd / rt5033.c
index db395a6..2b95485 100644 (file)
@@ -47,6 +47,9 @@ static const struct mfd_cell rt5033_devs[] = {
        }, {
                .name = "rt5033-battery",
                .of_compatible = "richtek,rt5033-battery",
+       }, {
+               .name = "rt5033-led",
+               .of_compatible = "richtek,rt5033-led",
        },
 };
 
@@ -124,6 +127,7 @@ static const struct of_device_id rt5033_dt_match[] = {
        { .compatible = "richtek,rt5033", },
        { }
 };
+MODULE_DEVICE_TABLE(of, rt5033_dt_match);
 
 static struct i2c_driver rt5033_driver = {
        .driver = {
@@ -136,7 +140,6 @@ static struct i2c_driver rt5033_driver = {
 };
 module_i2c_driver(rt5033_driver);
 
-MODULE_ALIAS("i2c:rt5033");
 MODULE_DESCRIPTION("Richtek RT5033 multi-function core driver");
 MODULE_AUTHOR("Beomho Seo <beomho.seo@samsung.com>");
 MODULE_LICENSE("GPL");