···11#ifndef ___ASM_SPARC_OF_PLATFORM_H22#define ___ASM_SPARC_OF_PLATFORM_H33-#if defined(__sparc__) && defined(__arch64__)44-#include <asm/of_platform_64.h>55-#else66-#include <asm/of_platform_32.h>77-#endif33+/*44+ * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp.55+ * <benh@kernel.crashing.org>66+ * Modified for Sparc by merging parts of asm/of_device.h77+ * by Stephen Rothwell88+ *99+ * This program is free software; you can redistribute it and/or1010+ * modify it under the terms of the GNU General Public License1111+ * as published by the Free Software Foundation; either version1212+ * 2 of the License, or (at your option) any later version.1313+ *1414+ */1515+1616+/* This is just here during the transition */1717+#include <linux/of_platform.h>1818+1919+extern struct bus_type ebus_bus_type;2020+extern struct bus_type sbus_bus_type;2121+2222+#define of_bus_type of_platform_bus_type /* for compatibility */2323+824#endif
-24
arch/sparc/include/asm/of_platform_32.h
···11-#ifndef _ASM_SPARC_OF_PLATFORM_H22-#define _ASM_SPARC_OF_PLATFORM_H33-/*44- * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp.55- * <benh@kernel.crashing.org>66- * Modified for Sparc by merging parts of asm/of_device.h77- * by Stephen Rothwell88- *99- * This program is free software; you can redistribute it and/or1010- * modify it under the terms of the GNU General Public License1111- * as published by the Free Software Foundation; either version1212- * 2 of the License, or (at your option) any later version.1313- *1414- */1515-1616-/* This is just here during the transition */1717-#include <linux/of_platform.h>1818-1919-extern struct bus_type ebus_bus_type;2020-extern struct bus_type sbus_bus_type;2121-2222-#define of_bus_type of_platform_bus_type /* for compatibility */2323-2424-#endif /* _ASM_SPARC_OF_PLATFORM_H */
-24
arch/sparc/include/asm/of_platform_64.h
···11-#ifndef _ASM_SPARC64_OF_PLATFORM_H22-#define _ASM_SPARC64_OF_PLATFORM_H33-/*44- * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp.55- * <benh@kernel.crashing.org>66- * Modified for Sparc by merging parts of asm/of_device.h77- * by Stephen Rothwell88- *99- * This program is free software; you can redistribute it and/or1010- * modify it under the terms of the GNU General Public License1111- * as published by the Free Software Foundation; either version1212- * 2 of the License, or (at your option) any later version.1313- *1414- */1515-1616-/* This is just here during the transition */1717-#include <linux/of_platform.h>1818-1919-extern struct bus_type ebus_bus_type;2020-extern struct bus_type sbus_bus_type;2121-2222-#define of_bus_type of_platform_bus_type /* for compatibility */2323-2424-#endif /* _ASM_SPARC64_OF_PLATFORM_H */