Commit dcd3ea81 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Tejun Heo

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 014b44e7
#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
...@@ -46,7 +46,8 @@ ...@@ -46,7 +46,8 @@
#ifdef CONFIG_ATA_NONSTANDARD #ifdef CONFIG_ATA_NONSTANDARD
#include <asm/libata-portmap.h> #include <asm/libata-portmap.h>
#else #else
#include <asm-generic/libata-portmap.h> #define ATA_PRIMARY_IRQ(dev) 14
#define ATA_SECONDARY_IRQ(dev) 15
#endif #endif
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment