]> err.no Git - linux-2.6/blobdiff - include/asm-sparc/device.h
x86: fix pmd_bad and pud_bad to support huge pages
[linux-2.6] / include / asm-sparc / device.h
index d8f9872b0e2dc3587a9e658adc957f093b7906fb..680e51d87374cde9ab41d3d88f8c7f6655f438e5 100644 (file)
@@ -3,5 +3,19 @@
  *
  * 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;
+};
+
+#endif /* _ASM_SPARC_DEVICE_H */