diff options
author | John Crispin <blogic@openwrt.org> | 2015-02-13 07:38:33 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-02-13 07:38:33 +0000 |
commit | 22f958e63d0eff984affc9f7969680af7299425a (patch) | |
tree | dd841446512aed159142852a9a6701d25a3ea169 /target/linux | |
parent | 50a4aa688be2e05464d250686df0d4272b3c8c17 (diff) | |
download | master-187ad058-22f958e63d0eff984affc9f7969680af7299425a.tar.gz master-187ad058-22f958e63d0eff984affc9f7969680af7299425a.tar.bz2 master-187ad058-22f958e63d0eff984affc9f7969680af7299425a.zip |
brcm2708: fix spidev
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44434 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm2708/patches-3.18/1000-BCM2708-fix-SPIDEV.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-3.18/1000-BCM2708-fix-SPIDEV.patch b/target/linux/brcm2708/patches-3.18/1000-BCM2708-fix-SPIDEV.patch new file mode 100644 index 0000000000..fa7c21ec7d --- /dev/null +++ b/target/linux/brcm2708/patches-3.18/1000-BCM2708-fix-SPIDEV.patch @@ -0,0 +1,36 @@ +--- 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 + |