mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
serial: samsung: Fix build for non-Exynos4210 devices
exynos4120_serial_drv_data is only defined when building with support for Exynos4210 so use the already provided define to ensure that we don't reference it when building for other SoCs. Signed-off-by: Mark Brown <[email protected]> [[email protected]: Fixed build warning] Signed-off-by: Kukjin Kim <[email protected]>
This commit is contained in:
parent
26c919e1d3
commit
a169a888bf
1 changed files with 1 additions and 1 deletions
|
|
@ -1649,7 +1649,7 @@ MODULE_DEVICE_TABLE(platform, s3c24xx_serial_driver_ids);
|
|||
#ifdef CONFIG_OF
|
||||
static const struct of_device_id s3c24xx_uart_dt_match[] = {
|
||||
{ .compatible = "samsung,exynos4210-uart",
|
||||
.data = &exynos4210_serial_drv_data },
|
||||
.data = (void *)EXYNOS4210_SERIAL_DRV_DATA },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, s3c24xx_uart_dt_match);
|
||||
|
|
|
|||
Loading…
Reference in a new issue