提交 a6d967a4 编写于 作者: J 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: NJeff Garzik <jeff@garzik.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册