summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-09-22 07:49:50 -0700
committerTejun Heo <tj@kernel.org>2016-09-22 11:50:29 -0400
commitdcd3ea81f572fba57d18e91743a525a9787c1f6e (patch)
tree114c49721c0724b8873877fb5b52f906c9d34c81 /include/linux/libata.h
parent014b44e7a4683ccef09cc58c53012e5bc53daece (diff)
downloadlinux-rpi-dcd3ea81f572fba57d18e91743a525a9787c1f6e.tar.gz
linux-rpi-dcd3ea81f572fba57d18e91743a525a9787c1f6e.tar.bz2
linux-rpi-dcd3ea81f572fba57d18e91743a525a9787c1f6e.zip
libata: remove <asm-generic/libata-portmap.h>
asm-generic is only intended for architecture defaults, and we can simply kill it off by moving the two defintions directly to <linux/libata.h>. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index e37d4f99f510..616eef4d81ea 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -46,7 +46,8 @@
#ifdef CONFIG_ATA_NONSTANDARD
#include <asm/libata-portmap.h>
#else
-#include <asm-generic/libata-portmap.h>
+#define ATA_PRIMARY_IRQ(dev) 14
+#define ATA_SECONDARY_IRQ(dev) 15
#endif
/*