Skip to content

Commit

Permalink
[ARM] S3C24XX: Fix sparse error in gpiolib.c
Browse files Browse the repository at this point in the history
Fix the following sparse error generated by including
<plat/gpio-core.h> instead of <mach/gpio-core.h>

gpiolib.c:78:22: warning: symbol 's3c24xx_gpios' was not declared. Should it be static?

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 Apr 17, 2009
1 parent db75639 commit ec5cfbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-s3c24xx/gpiolib.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <linux/io.h>
#include <linux/gpio.h>

#include <plat/gpio-core.h>
#include <mach/gpio-core.h>
#include <mach/hardware.h>
#include <asm/irq.h>

Expand Down

0 comments on commit ec5cfbf

Please sign in to comment.