summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/parport.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2005-10-24 13:07:23 +1000
committerPaul Mackerras <paulus@samba.org>2005-10-27 20:50:54 +1000
commit2765ca254060adb9a5abc2cfc6264b8daafc5742 (patch)
treee4b94377aa8f6b6e155448b6a7b8d5e4baa2fc72 /include/asm-powerpc/parport.h
parente37bc5df8e96c72f27ec3579499726b656e4e641 (diff)
[PATCH] powerpc: Merge parport.h
Save for the header #define, ppc32 and ppc64 versions of parport.h are identical. This patch merges them. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/parport.h')
-rw-r--r--include/asm-powerpc/parport.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asm-powerpc/parport.h b/include/asm-powerpc/parport.h
new file mode 100644
index 000000000000..d86b410a6f8b
--- /dev/null
+++ b/include/asm-powerpc/parport.h
@@ -0,0 +1,18 @@
+/*
+ * parport.h: platform-specific PC-style parport initialisation
+ *
+ * Copyright (C) 1999, 2000 Tim Waugh <tim@cyberelk.demon.co.uk>
+ *
+ * This file should only be included by drivers/parport/parport_pc.c.
+ */
+
+#ifndef _ASM_POWERPC_PARPORT_H
+#define _ASM_POWERPC_PARPORT_H
+
+static int __devinit parport_pc_find_isa_ports (int autoirq, int autodma);
+static int __devinit parport_pc_find_nonpci_ports (int autoirq, int autodma)
+{
+ return parport_pc_find_isa_ports (autoirq, autodma);
+}
+
+#endif /* !(_ASM_POWERPC_PARPORT_H) */