mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
pinctrl: denverton: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE()
As Krzysztof pointed out the better is to use MODULE_DEVICE_TABLE() as it will be consistent with the content of the real ID table of the platform devices. Suggested-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
a9d7dfaaa8
commit
3013c7f778
1 changed files with 1 additions and 1 deletions
|
@ -261,6 +261,7 @@ static const struct platform_device_id dnv_pinctrl_platform_ids[] = {
|
|||
{ "denverton-pinctrl", (kernel_ulong_t)&dnv_soc_data },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(platform, dnv_pinctrl_platform_ids);
|
||||
|
||||
static struct platform_driver dnv_pinctrl_driver = {
|
||||
.probe = intel_pinctrl_probe_by_hid,
|
||||
|
@ -287,5 +288,4 @@ module_exit(dnv_pinctrl_exit);
|
|||
MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>");
|
||||
MODULE_DESCRIPTION("Intel Denverton SoC pinctrl/GPIO driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_ALIAS("platform:denverton-pinctrl");
|
||||
MODULE_IMPORT_NS(PINCTRL_INTEL);
|
||||
|
|
Loading…
Reference in a new issue