diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-10-03 11:29:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-07 13:50:48 +0200 |
commit | 201e91091b1d47047f55580b5474e1239f4d17aa (patch) | |
tree | 5619d0815fc5689adefc91363973d701974f7866 /arch/sh/kernel/cpu/sh2a/setup-mxg.c | |
parent | 507fd01d5333338753a1cc26322dfc9f856c109f (diff) | |
download | linux-stable-201e91091b1d47047f55580b5474e1239f4d17aa.tar.gz linux-stable-201e91091b1d47047f55580b5474e1239f4d17aa.tar.bz2 linux-stable-201e91091b1d47047f55580b5474e1239f4d17aa.zip |
sh: add the sh_ prefix to early platform symbols
Old early platform device support is now sh-specific. Before moving on
to implementing new early platform framework based on real platform
devices, prefix all early platform symbols with 'sh_'.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Rich Felker <dalias@libc.org>
Link: https://lore.kernel.org/r/20191003092913.10731-3-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh2a/setup-mxg.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh2a/setup-mxg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh2a/setup-mxg.c b/arch/sh/kernel/cpu/sh2a/setup-mxg.c index 8a19c5754978..cefa07924c16 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-mxg.c +++ b/arch/sh/kernel/cpu/sh2a/setup-mxg.c @@ -170,6 +170,6 @@ static struct platform_device *mxg_early_devices[] __initdata = { void __init plat_early_device_setup(void) { - early_platform_add_devices(mxg_early_devices, + sh_early_platform_add_devices(mxg_early_devices, ARRAY_SIZE(mxg_early_devices)); } |