[WATCHDOG 57/57] wdt501/pci: Clean up, coding style and switch to unlocked_ioctl
[safe/jmp/linux-2.6] / include / asm-sparc / device.h
index d8f9872..19790eb 100644 (file)
@@ -3,5 +3,21 @@
  *
  * This file is released under the GPLv2
  */
-#include <asm-generic/device.h>
+#ifndef _ASM_SPARC_DEVICE_H
+#define _ASM_SPARC_DEVICE_H
 
+struct device_node;
+struct of_device;
+
+struct dev_archdata {
+       void                    *iommu;
+       void                    *stc;
+       void                    *host_controller;
+
+       struct device_node      *prom_node;
+       struct of_device        *op;
+
+       int                     numa_node;
+};
+
+#endif /* _ASM_SPARC_DEVICE_H */