diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-08-18 16:58:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-18 17:05:14 +0200 |
commit | de1a93b6a49c366b4897fc314c71ac005f765479 (patch) | |
tree | 5d8659cf6773336c5c2a6359253ce850d62546e4 | |
parent | b240d0143bfbc96f610405f978e4753fd663cbfc (diff) |
staging: spmi: hisi-spmi-controller: change compatible string
Add the chipset name at the compatible string, as other
HiSilicon chipsets with SPMI bus might require something
different.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/f34062e82b5d5ee49aab4f9055b44e42e5023f0a.1597762400.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/hikey9xx/hisi-spmi-controller.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/hikey9xx/hisi-spmi-controller.c b/drivers/staging/hikey9xx/hisi-spmi-controller.c index 513d962b8bce..66a0b296e06f 100644 --- a/drivers/staging/hikey9xx/hisi-spmi-controller.c +++ b/drivers/staging/hikey9xx/hisi-spmi-controller.c @@ -324,7 +324,8 @@ static int spmi_del_controller(struct platform_device *pdev) } static const struct of_device_id spmi_controller_match_table[] = { - { .compatible = "hisilicon,spmi-controller", + { + .compatible = "hisilicon,kirin970-spmi-controller", }, {} }; |