mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
0d36998795
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 44434
37 lines
876 B
Diff
37 lines
876 B
Diff
--- a/arch/arm/mach-bcm2708/bcm2708.c
|
|
+++ b/arch/arm/mach-bcm2708/bcm2708.c
|
|
@@ -559,7 +559,6 @@ static struct platform_device bcm2708_sp
|
|
|
|
#ifdef CONFIG_BCM2708_SPIDEV
|
|
static struct spi_board_info bcm2708_spi_devices[] = {
|
|
-#ifdef CONFIG_SPI_SPIDEV
|
|
{
|
|
.modalias = "spidev",
|
|
.max_speed_hz = 500000,
|
|
@@ -573,7 +572,6 @@ static struct spi_board_info bcm2708_spi
|
|
.chip_select = 1,
|
|
.mode = SPI_MODE_0,
|
|
}
|
|
-#endif
|
|
};
|
|
#endif
|
|
|
|
--- a/arch/arm/mach-bcm2709/bcm2709.c
|
|
+++ b/arch/arm/mach-bcm2709/bcm2709.c
|
|
@@ -581,7 +581,6 @@ static struct platform_device bcm2708_sp
|
|
|
|
#ifdef CONFIG_BCM2708_SPIDEV
|
|
static struct spi_board_info bcm2708_spi_devices[] = {
|
|
-#ifdef CONFIG_SPI_SPIDEV
|
|
{
|
|
.modalias = "spidev",
|
|
.max_speed_hz = 500000,
|
|
@@ -595,7 +594,6 @@ static struct spi_board_info bcm2708_spi
|
|
.chip_select = 1,
|
|
.mode = SPI_MODE_0,
|
|
}
|
|
-#endif
|
|
};
|
|
#endif
|
|
|