mfd: mt6397: Add MT6323 LED support into MT6397 driver

Add compatible string as "mt6323-led" that will make
the OF core spawn child devices for the LED subnode
of that MT6323 MFD device.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Sean Wang 2017-01-23 11:54:45 +08:00 коммит произвёл Lee Jones
Родитель 05daab3d63
Коммит 1cb8af8d63
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -48,6 +48,10 @@ static const struct mfd_cell mt6323_devs[] = {
.name = "mt6323-regulator",
.of_compatible = "mediatek,mt6323-regulator"
},
{
.name = "mt6323-led",
.of_compatible = "mediatek,mt6323-led"
},
};
static const struct mfd_cell mt6397_devs[] = {