2019-12-10 20:36:20

by Arnd Bergmann

[permalink] [raw]
Subject: [PATCH] ARM: mmp: include the correct cputype.h

The file was moved, causing a build error:

In file included from /git/arm-soc/arch/arm/mach-mmp/pxa168.c:28:
arch/arm/mach-mmp/pxa168.h:22:10: fatal error: cputype.h: No such file or directory

Include it from the new location.

Fixes: 32adcaa010fa ("ARM: mmp: move cputype.h to include/linux/soc/")
Signed-off-by: Arnd Bergmann <[email protected]>
---
arch/arm/mach-mmp/pxa168.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mmp/pxa168.h b/arch/arm/mach-mmp/pxa168.h
index 6dd17986e360..34f907cd165a 100644
--- a/arch/arm/mach-mmp/pxa168.h
+++ b/arch/arm/mach-mmp/pxa168.h
@@ -17,9 +17,9 @@ extern void pxa168_clear_keypad_wakeup(void);
#include <linux/platform_data/keypad-pxa27x.h>
#include <linux/pxa168_eth.h>
#include <linux/platform_data/mv_usb.h>
+#include <linux/soc/mmp/cputype.h>

#include "devices.h"
-#include "cputype.h"

extern struct mmp_device_desc pxa168_device_uart1;
extern struct mmp_device_desc pxa168_device_uart2;
--
2.20.0


2019-12-13 08:42:26

by Lubomir Rintel

[permalink] [raw]
Subject: Re: [PATCH] ARM: mmp: include the correct cputype.h

On Tue, 2019-12-10 at 21:34 +0100, Arnd Bergmann wrote:
> The file was moved, causing a build error:
>
> In file included from /git/arm-soc/arch/arm/mach-mmp/pxa168.c:28:
> arch/arm/mach-mmp/pxa168.h:22:10: fatal error: cputype.h: No such file or directory
>
> Include it from the new location.
>
> Fixes: 32adcaa010fa ("ARM: mmp: move cputype.h to include/linux/soc/")
> Signed-off-by: Arnd Bergmann <[email protected]>

Acked-by: Lubomir Rintel <[email protected]>

> ---
> arch/arm/mach-mmp/pxa168.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-mmp/pxa168.h b/arch/arm/mach-mmp/pxa168.h
> index 6dd17986e360..34f907cd165a 100644
> --- a/arch/arm/mach-mmp/pxa168.h
> +++ b/arch/arm/mach-mmp/pxa168.h
> @@ -17,9 +17,9 @@ extern void pxa168_clear_keypad_wakeup(void);
> #include <linux/platform_data/keypad-pxa27x.h>
> #include <linux/pxa168_eth.h>
> #include <linux/platform_data/mv_usb.h>
> +#include <linux/soc/mmp/cputype.h>
>
> #include "devices.h"
> -#include "cputype.h"
>
> extern struct mmp_device_desc pxa168_device_uart1;
> extern struct mmp_device_desc pxa168_device_uart2;

2019-12-13 18:33:00

by Olof Johansson

[permalink] [raw]
Subject: Re: [PATCH] ARM: mmp: include the correct cputype.h

On Fri, Dec 13, 2019 at 12:41 AM Lubomir Rintel <[email protected]> wrote:
>
> On Tue, 2019-12-10 at 21:34 +0100, Arnd Bergmann wrote:
> > The file was moved, causing a build error:
> >
> > In file included from /git/arm-soc/arch/arm/mach-mmp/pxa168.c:28:
> > arch/arm/mach-mmp/pxa168.h:22:10: fatal error: cputype.h: No such file or directory
> >
> > Include it from the new location.
> >
> > Fixes: 32adcaa010fa ("ARM: mmp: move cputype.h to include/linux/soc/")
> > Signed-off-by: Arnd Bergmann <[email protected]>
>
> Acked-by: Lubomir Rintel <[email protected]>

For some reason patchwork didn't reply to this, but I applied it a
couple of days ago.


Thanks!

-Olof