[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: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
#include <asm-generic/libata-portmap.h>
|
|
@@ -1 +0,0 @@
|
|||||||
#include <asm-generic/libata-portmap.h>
|
|
@@ -1 +0,0 @@
|
|||||||
#include <asm-generic/libata-portmap.h>
|
|
@@ -1 +0,0 @@
|
|||||||
#include <asm-generic/libata-portmap.h>
|
|
@@ -1 +0,0 @@
|
|||||||
#include <asm-generic/libata-portmap.h>
|
|
@@ -1 +0,0 @@
|
|||||||
#include <asm-generic/libata-portmap.h>
|
|
@@ -1 +0,0 @@
|
|||||||
#include <asm-generic/libata-portmap.h>
|
|
@@ -1 +0,0 @@
|
|||||||
#include <asm-generic/libata-portmap.h>
|
|
@@ -36,7 +36,15 @@
|
|||||||
#include <linux/workqueue.h>
|
#include <linux/workqueue.h>
|
||||||
#include <scsi/scsi_host.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>
|
#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
|
* compile-time options: to be removed as soon as all the drivers are
|
||||||
|
Reference in New Issue
Block a user