Skip to content

Commit

Permalink
[ARM] S3C24XX: Fix spi-bus configuration build errors
Browse files Browse the repository at this point in the history
The commit ec976d6
removed a number of gpio definitions from <mach/hardware.h>
but misssed updating these two files:

Fix the following build errors by including <linux/gpio.h>:
arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c: In function 's3c24xx_spi_gpiocfg_bus1_gpg5_6_7':
arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c:25: error: implicit declaration of function 's3c2410_gpio_cfgpin'
arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c:28: error: implicit declaration of function 's3c2410_gpio_pullup'
arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c: In function 's3c24xx_spi_gpiocfg_bus0_gpe11_12_13':
arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c:25: error: implicit declaration of function 's3c2410_gpio_cfgpin'
arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c:28: error: implicit declaration of function 's3c2410_gpio_pullup'

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Ben Dooks authored and Ben Dooks committed Jun 23, 2009
1 parent a18327f commit 927dbcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
*/

#include <linux/kernel.h>

#include <mach/hardware.h>
#include <linux/gpio.h>

#include <mach/spi.h>
#include <mach/regs-gpio.h>
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
*/

#include <linux/kernel.h>

#include <mach/hardware.h>
#include <linux/gpio.h>

#include <mach/spi.h>
#include <mach/regs-gpio.h>
Expand Down

0 comments on commit 927dbcd

Please sign in to comment.