summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/cell.h
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2015-03-31 16:00:55 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2015-04-11 20:49:17 +1000
commit9c1368fc50e78ff862a05d1a0995ce44413c49e2 (patch)
tree9b72f2b83df1272cef305f81727558bb00df18a7 /arch/powerpc/platforms/cell/cell.h
parent97884e00e29ad6654b8b6939bb805b9d6303427c (diff)
downloadblackbird-op-linux-9c1368fc50e78ff862a05d1a0995ce44413c49e2.tar.gz
blackbird-op-linux-9c1368fc50e78ff862a05d1a0995ce44413c49e2.zip
powerpc/cell: Move controller ops from ppc_md to controller_ops
This moves the Cell platform to use the pci_controller_ops structure rather than ppc_md for PCI controller operations. Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/cell/cell.h')
-rw-r--r--arch/powerpc/platforms/cell/cell.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/cell.h b/arch/powerpc/platforms/cell/cell.h
new file mode 100644
index 000000000000..ef143dfee068
--- /dev/null
+++ b/arch/powerpc/platforms/cell/cell.h
@@ -0,0 +1,24 @@
+/*
+ * Cell Platform common data structures
+ *
+ * Copyright 2015, Daniel Axtens, IBM Corporation
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef CELL_H
+#define CELL_H
+
+#include <asm/pci-bridge.h>
+
+extern struct pci_controller_ops cell_pci_controller_ops;
+
+#endif
OpenPOWER on IntegriCloud