Skip to content

Commit

Permalink
staging: spmi: hisi-spmi-controller: change compatible string
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab authored and Greg Kroah-Hartman committed Aug 18, 2020
1 parent b240d01 commit de1a93b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/hikey9xx/hisi-spmi-controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
{}
};
Expand Down

0 comments on commit de1a93b

Please sign in to comment.