Skip to content

Commit 85a9012

Browse files
Sachin Kamatbroonie
authored andcommitted
spi: s3c24xx: Remove reference to plat/fiq.h
fiq.h contains only a function declaration and is not used by anyone else. Move the declaration to the driver header file and remove the unnecessary platform dependency from the driver. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
1 parent 8f51c81 commit 85a9012

3 files changed

Lines changed: 2 additions & 15 deletions

File tree

‎arch/arm/plat-samsung/include/plat/fiq.h‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

‎drivers/spi/spi-s3c24xx.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929

3030
#include <plat/regs-spi.h>
3131

32-
#include <plat/fiq.h>
3332
#include <asm/fiq.h>
3433

3534
#include "spi-s3c24xx-fiq.h"
@@ -84,7 +83,6 @@ struct s3c24xx_spi {
8483
struct s3c2410_spi_info *pdata;
8584
};
8685

87-
8886
#define SPCON_DEFAULT (S3C2410_SPCON_MSTR | S3C2410_SPCON_SMOD_INT)
8987
#define SPPIN_DEFAULT (S3C2410_SPPIN_KEEP)
9088

‎include/linux/spi/s3c24xx.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ struct s3c2410_spi_info {
2323
void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol);
2424
};
2525

26+
extern int s3c24xx_set_fiq(unsigned int irq, bool on);
27+
2628
#endif /* __LINUX_SPI_S3C24XX_H */

0 commit comments

Comments
 (0)