Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze
[linux-2.6.git] / arch / microblaze / include / asm / prom.h
index 34c4e8b27805573d57de40c0bcec53b4ac890c85..20c5e8e5121bc6a807262870cb199a43c18fd15b 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <linux/types.h>
 #include <asm/irq.h>
-#include <asm/atomic.h>
+#include <linux/atomic.h>
 
 #define HAVE_ARCH_DEVTREE_FIXUPS
 
@@ -33,21 +33,6 @@ enum early_consoles {
 
 extern int of_early_console(void *version);
 
-#ifdef CONFIG_PCI
-/*
- * PCI <-> OF matching functions
- * (XXX should these be here?)
- */
-struct pci_bus;
-struct pci_dev;
-extern int pci_device_from_OF_node(struct device_node *node,
-                                       u8 *bus, u8 *devfn);
-extern struct device_node *pci_busdev_to_OF_node(struct pci_bus *bus,
-                                                       int devfn);
-extern struct device_node *pci_device_to_OF_node(struct pci_dev *dev);
-extern void pci_create_OF_bus_map(void);
-#endif
-
 /*
  * OF address retreival & translation
  */