Commit a6d967a4 authored by Jeff Garzik's avatar Jeff Garzik

[libata] No need for all those arch libata-portmap.h headers

They all contain the same thing.  Instead, have a single generic one in
include/asm-generic, and permit an arch to override as needed.
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 7c250413
#include <asm-generic/libata-portmap.h>
#include <asm-generic/libata-portmap.h>
#include <asm-generic/libata-portmap.h>
#include <asm-generic/libata-portmap.h>
#include <asm-generic/libata-portmap.h>
#include <asm-generic/libata-portmap.h>
#include <asm-generic/libata-portmap.h>
#include <asm-generic/libata-portmap.h>
......@@ -36,7 +36,15 @@
#include <linux/workqueue.h>
#include <scsi/scsi_host.h>
/*
* Define if arch has non-standard setup. This is a _PCI_ standard
* not a legacy or ISA standard.
*/
#ifdef CONFIG_ATA_NONSTANDARD
#include <asm/libata-portmap.h>
#else
#include <asm-generic/libata-portmap.h>
#endif
/*
* compile-time options: to be removed as soon as all the drivers are
......
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