]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
spi: s3c24xx: Remove reference to plat/fiq.h
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 31 Dec 2013 08:30:39 +0000 (14:00 +0530)
committerMark Brown <broonie@linaro.org>
Wed, 8 Jan 2014 13:06:21 +0000 (13:06 +0000)
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>
arch/arm/plat-samsung/include/plat/fiq.h [deleted file]
drivers/spi/spi-s3c24xx.c
include/linux/spi/s3c24xx.h

diff --git a/arch/arm/plat-samsung/include/plat/fiq.h b/arch/arm/plat-samsung/include/plat/fiq.h
deleted file mode 100644 (file)
index 535d06a..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/* linux/arch/arm/plat-samsung/include/plat/fiq.h
- *
- * Copyright (c) 2009 Simtec Electronics
- *     Ben Dooks <ben@simtec.co.uk>
- *
- * Header file for S3C24XX CPU FIQ support
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-extern int s3c24xx_set_fiq(unsigned int irq, bool on);
index 2ccb28d57ba913c2abeaad977c09b022466f0361..746424aa5353fb2a779b04c0fc93aae0163da0ea 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <plat/regs-spi.h>
 
-#include <plat/fiq.h>
 #include <asm/fiq.h>
 
 #include "spi-s3c24xx-fiq.h"
@@ -84,7 +83,6 @@ struct s3c24xx_spi {
        struct s3c2410_spi_info *pdata;
 };
 
-
 #define SPCON_DEFAULT (S3C2410_SPCON_MSTR | S3C2410_SPCON_SMOD_INT)
 #define SPPIN_DEFAULT (S3C2410_SPPIN_KEEP)
 
index c23b923e493b1e71542f97613304ee403a4d8188..ca271c06c591d77666027cd68b6a3a966c48237b 100644 (file)
@@ -23,4 +23,6 @@ struct s3c2410_spi_info {
        void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol);
 };
 
+extern int s3c24xx_set_fiq(unsigned int irq, bool on);
+
 #endif /* __LINUX_SPI_S3C24XX_H */