From e6d87036412b952cb083eff2dc716aee97a771f2 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Fri, 17 May 2013 20:40:24 +0300 Subject: Move to rsdk 3.2.4. Compiles cleanly. Signed-off-by: Roman Yeryomin --- .../linux/realtek/files/drivers/mtd/chips/rtl819x/spi_common.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'target/linux/realtek/files/drivers/mtd/chips/rtl819x/spi_common.h') diff --git a/target/linux/realtek/files/drivers/mtd/chips/rtl819x/spi_common.h b/target/linux/realtek/files/drivers/mtd/chips/rtl819x/spi_common.h index c1fa7df66..44ffc2234 100644 --- a/target/linux/realtek/files/drivers/mtd/chips/rtl819x/spi_common.h +++ b/target/linux/realtek/files/drivers/mtd/chips/rtl819x/spi_common.h @@ -3,6 +3,12 @@ * Written by sam (sam@realtek.com) * 2010-05-01 * + * + * Copyright (c) 2011 Realtek Semiconductor Corp. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. */ #include "../../../../include/linux/autoconf.h" @@ -14,7 +20,7 @@ //#define CONFIG_SPI_STD_MODE 1 //#define SPI_KERNEL 1 #ifdef SPI_KERNEL - #ifdef CONFIG_RTL8198 + #if defined(CONFIG_RTL8198) || defined(CONFIG_RTL_819XD) || defined(CONFIG_RTL_8196E) #define SPI_DRIVER_MODE 0 #elif defined(CONFIG_RTL_8196CS) #define SPI_DRIVER_MODE 0 @@ -22,7 +28,7 @@ #define SPI_DRIVER_MODE 1 #endif #else - #ifdef CONFIG_RTL8198 + #if defined(CONFIG_RTL8198) || defined(CONFIG_RTL_819XD) || defined(CONFIG_RTL_8196E) #define SPI_DRIVER_MODE 0 #else #ifdef CONFIG_SPI_STD_MODE -- cgit v1.2.3