diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-08-25 23:14:01 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-06-17 16:31:04 +0300 |
commit | 55712627bffd666c9f25eb23c15c55ec85e5a73f (patch) | |
tree | 723e2906bbd1596ecf72edf81d85a7b36d6651bf /drivers/ata/pata_ixp4xx_cf.c | |
parent | 09aa9aabdcc4966270b031816a16d4641fb45dfa (diff) | |
download | linux-55712627bffd666c9f25eb23c15c55ec85e5a73f.tar.xz |
pata: ixp4xx: split platform data to its own header
Portable drivers cannot use mach/platform.h, so move the
structure into its own header. With this, compile testing
can be enabled.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/ata/pata_ixp4xx_cf.c')
-rw-r--r-- | drivers/ata/pata_ixp4xx_cf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c index 073c4e2c9d04..5881d64af943 100644 --- a/drivers/ata/pata_ixp4xx_cf.c +++ b/drivers/ata/pata_ixp4xx_cf.c @@ -17,8 +17,8 @@ #include <linux/libata.h> #include <linux/irq.h> #include <linux/platform_device.h> +#include <linux/platform_data/pata_ixp4xx_cf.h> #include <scsi/scsi_host.h> -#include <mach/hardware.h> #define DRV_NAME "pata_ixp4xx_cf" #define DRV_VERSION "0.2" |