diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-02-28 20:47:12 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-03-18 17:26:52 +0100 |
commit | 568a60eda2e90a11bb3d7f8ef3f6800e9b60d4e5 (patch) | |
tree | 625f09d2944b7359ff5dfe845a8482e58581dfb4 /drivers/spi/dw_spi_pci.c | |
parent | spi/dw_spi: Fix missing header (diff) | |
download | linux-568a60eda2e90a11bb3d7f8ef3f6800e9b60d4e5.tar.xz linux-568a60eda2e90a11bb3d7f8ef3f6800e9b60d4e5.zip |
spi/dw_spi: move dw_spi.h into drivers/spi
include/linux/dw_spi.h only includes driver internal data. It doesn't
expose a platform_data configuration structure or similar (at least
nothing in-tree). This patch moves the header into drivers/spi so
that the scope is limited to only the dw_spi_*.c driver files
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Feng Tang <feng.tang@intel.com>
Cc: spi-devel-general@lists.sourceforge.net
Diffstat (limited to 'drivers/spi/dw_spi_pci.c')
-rw-r--r-- | drivers/spi/dw_spi_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/dw_spi_pci.c b/drivers/spi/dw_spi_pci.c index 49ec3aa1219f..ad260aa5e526 100644 --- a/drivers/spi/dw_spi_pci.c +++ b/drivers/spi/dw_spi_pci.c @@ -20,9 +20,10 @@ #include <linux/interrupt.h> #include <linux/pci.h> #include <linux/slab.h> -#include <linux/spi/dw_spi.h> #include <linux/spi/spi.h> +#include "dw_spi.h" + #define DRIVER_NAME "dw_spi_pci" struct dw_spi_pci { |