]> git.baikalelectronics.ru Git - kernel.git/commit
soc: mediatek: pwrap: fix fatal compiler error
authorMatthias Brugger <matthias.bgg@gmail.com>
Sat, 21 Oct 2017 08:18:20 +0000 (10:18 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Sat, 21 Oct 2017 08:23:28 +0000 (10:23 +0200)
commitc4c4481dafa471aeae9967ed11db533c02b286e6
treea03d5915f0103b2f1d4ba8f7dd9995989756c394
parente9285540d1e1108510ed653313228b6b4e040cce
soc: mediatek: pwrap: fix fatal compiler error

When adding the MT6380 compatible, the sentinel for of_device_id was
deleted, which leades to the following compiler error:
FATAL: drivers/soc/mediatek/mtk-pmic-wrap: struct of_device_id is not terminated with a NULL entry!

Fix this by adding the sentinel again.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c