Let's move cputype.h away from mach-mmp/ so that the drivers outside that directory are able to tell the precise silicon revision. The MMP3 USB OTG PHY driver needs this.
Unified · Split
| @@ -10908,6 +10908,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) · 10907 unmodified lines | ||
| 10908 | 10908 | S: Odd Fixes |
| 10909 | 10909 | F: arch/arm/boot/dts/mmp* |
| 10910 | 10910 | F: arch/arm/mach-mmp/ |
| 10911 | +F: linux/soc/mmp/ | |
| 10911 | 10912 | |
| 10912 | 10913 | MMU GATHER AND TLB INVALIDATION |
| 10913 | 10914 | M: Will Deacon <will@kernel.org> |
| @@ -13,7 +13,7 @@ · 12 unmodified lines | ||
| 13 | 13 | #include <asm/mach/map.h> |
| 14 | 14 | #include <asm/system_misc.h> |
| 15 | 15 | #include "addr-map.h" |
| 16 | −#include "cputype.h" | |
| 16 | +#include <linux/soc/mmp/cputype.h> | |
| 17 | 17 | |
| 18 | 18 | #include "common.h" |
| 19 | 19 | |
| @@ -11,7 +11,7 @@ · 10 unmodified lines | ||
| 11 | 11 | #include <asm/irq.h> |
| 12 | 12 | #include "irqs.h" |
| 13 | 13 | #include "devices.h" |
| 14 | −#include "cputype.h" | |
| 14 | +#include <linux/soc/mmp/cputype.h> | |
| 15 | 15 | #include "regs-usb.h" |
| 16 | 16 | |
| 17 | 17 | int __init pxa_register_device(struct pxa_device_desc *desc, |
| @@ -20,7 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | #include <asm/mach/time.h> |
| 21 | 21 | #include "addr-map.h" |
| 22 | 22 | #include "regs-apbc.h" |
| 23 | −#include "cputype.h" | |
| 23 | +#include <linux/soc/mmp/cputype.h> | |
| 24 | 24 | #include "irqs.h" |
| 25 | 25 | #include "mfp.h" |
| 26 | 26 | #include "devices.h" |
| @@ -17,7 +17,7 @@ · 16 unmodified lines | ||
| 17 | 17 | #include <linux/interrupt.h> |
| 18 | 18 | #include <asm/mach-types.h> |
| 19 | 19 | |
| 20 | −#include "cputype.h" | |
| 20 | +#include <linux/soc/mmp/cputype.h> | |
| 21 | 21 | #include "addr-map.h" |
| 22 | 22 | #include "pm-mmp2.h" |
| 23 | 23 | #include "regs-icu.h" |
| @@ -18,7 +18,7 @@ · 17 unmodified lines | ||
| 18 | 18 | #include <asm/mach-types.h> |
| 19 | 19 | #include <asm/outercache.h> |
| 20 | 20 | |
| 21 | −#include "cputype.h" | |
| 21 | +#include <linux/soc/mmp/cputype.h> | |
| 22 | 22 | #include "addr-map.h" |
| 23 | 23 | #include "pm-pxa910.h" |
| 24 | 24 | #include "regs-icu.h" |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "addr-map.h" |
| 22 | 22 | #include "clock.h" |
| 23 | 23 | #include "common.h" |
| 24 | −#include "cputype.h" | |
| 24 | +#include <linux/soc/mmp/cputype.h> | |
| 25 | 25 | #include "devices.h" |
| 26 | 26 | #include "irqs.h" |
| 27 | 27 | #include "mfp.h" |
| @@ -18,7 +18,7 @@ · 17 unmodified lines | ||
| 18 | 18 | #include <asm/mach/time.h> |
| 19 | 19 | #include "addr-map.h" |
| 20 | 20 | #include "regs-apbc.h" |
| 21 | −#include "cputype.h" | |
| 21 | +#include <linux/soc/mmp/cputype.h> | |
| 22 | 22 | #include "irqs.h" |
| 23 | 23 | #include "mfp.h" |
| 24 | 24 | #include "devices.h" |
| @@ -33,7 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "regs-timers.h" |
| 34 | 34 | #include "regs-apbc.h" |
| 35 | 35 | #include "irqs.h" |
| 36 | −#include "cputype.h" | |
| 36 | +#include <linux/soc/mmp/cputype.h> | |
| 37 | 37 | #include "clock.h" |
| 38 | 38 | |
| 39 | 39 | #define TIMERS_VIRT_BASE TIMERS1_VIRT_BASE |
| @@ -633,6 +633,7 @@ header-test- += linux/soc/amlogic/meson-canvas.h · 632 unmodified lines | ||
| 633 | 633 | header-test- += linux/soc/brcmstb/brcmstb.h |
| 634 | 634 | header-test- += linux/soc/ixp4xx/npe.h |
| 635 | 635 | header-test- += linux/soc/mediatek/infracfg.h |
| 636 | +header-test- += linux/soc/mmp/cputype.h | |
| 636 | 637 | header-test- += linux/soc/qcom/smd-rpm.h |
| 637 | 638 | header-test- += linux/soc/qcom/smem.h |
| 638 | 639 | header-test- += linux/soc/qcom/smem_state.h |
File renamed without changes.