Skip to content

Commit

Permalink
gpio: sprd: Change to use SoC compatible string
Browse files Browse the repository at this point in the history
Change to use SoC compatible string instead of wildcard string.

The Spreadtrum SC9860 platform device trees and drivers' development
are still in progress, and now we will always recompile and ship
device trees at the same time as we will compile and ship the kernel,
so we do not need care about the backwards compatibility.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Baolin Wang authored and Linus Walleij committed Feb 21, 2019
1 parent 07b6ce7 commit 567cbf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-pmic-eic-sprd.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ static int sprd_pmic_eic_probe(struct platform_device *pdev)
}

static const struct of_device_id sprd_pmic_eic_of_match[] = {
{ .compatible = "sprd,sc27xx-eic", },
{ .compatible = "sprd,sc2731-eic", },
{ /* end of list */ }
};
MODULE_DEVICE_TABLE(of, sprd_pmic_eic_of_match);
Expand Down

0 comments on commit 567cbf0

Please sign in to comment.