Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sachin Kamat and committed by
Mark Brown
85a90124 8f51c810

+2 -15
-13
arch/arm/plat-samsung/include/plat/fiq.h
··· 1 - /* linux/arch/arm/plat-samsung/include/plat/fiq.h 2 - * 3 - * Copyright (c) 2009 Simtec Electronics 4 - * Ben Dooks <ben@simtec.co.uk> 5 - * 6 - * Header file for S3C24XX CPU FIQ support 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 - */ 12 - 13 - extern int s3c24xx_set_fiq(unsigned int irq, bool on);
-2
drivers/spi/spi-s3c24xx.c
··· 29 29 30 30 #include <plat/regs-spi.h> 31 31 32 - #include <plat/fiq.h> 33 32 #include <asm/fiq.h> 34 33 35 34 #include "spi-s3c24xx-fiq.h" ··· 82 83 struct device *dev; 83 84 struct s3c2410_spi_info *pdata; 84 85 }; 85 - 86 86 87 87 #define SPCON_DEFAULT (S3C2410_SPCON_MSTR | S3C2410_SPCON_SMOD_INT) 88 88 #define SPPIN_DEFAULT (S3C2410_SPPIN_KEEP)
+2
include/linux/spi/s3c24xx.h
··· 23 23 void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol); 24 24 }; 25 25 26 + extern int s3c24xx_set_fiq(unsigned int irq, bool on); 27 + 26 28 #endif /* __LINUX_SPI_S3C24XX_H */