libata: remove <asm-generic/libata-portmap.h>
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Sep 2016 14:49:50 +0000 (07:49 -0700)
committerTejun Heo <tj@kernel.org>
Thu, 22 Sep 2016 15:50:29 +0000 (11:50 -0400)
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>
include/asm-generic/libata-portmap.h [deleted file]
include/linux/libata.h

diff --git a/include/asm-generic/libata-portmap.h b/include/asm-generic/libata-portmap.h
deleted file mode 100644 (file)
index cf14f2f..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef __ASM_GENERIC_LIBATA_PORTMAP_H
-#define __ASM_GENERIC_LIBATA_PORTMAP_H
-
-#define ATA_PRIMARY_IRQ(dev)   14
-#define ATA_SECONDARY_IRQ(dev) 15
-
-#endif
index e37d4f99f510ae2f1953ea07c9b6fe29a0cc401d..616eef4d81ea38af48cf809ecdbc2a721aff4640 100644 (file)
@@ -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
 
 /*