]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/libata.h
[libata] No need for all those arch libata-portmap.h headers
[linux-2.6-omap-h63xx.git] / include / linux / libata.h
index 1ef3d3901b479450339bc7389fe0ed30f9a029d3..d6a3d4b345fc7b6f26dbd9c035178eabaf2120dd 100644 (file)
 #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