Re: [PATCH] [x86] Avoid build error on "config SPI" is y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 01, 2013 at 11:05:22PM +0900, monaka@xxxxxxxxxxxx wrote:
> From: Masaki Muranaka <monaka@xxxxxxxxxxxxx>
> 
> In case he configures with make ARCH=x85 menuconfig,
> config SPI will be set to "y". And he will got an error on spi.h.
> 
> Signed-off-by: Masaki Muranaka <monaka@xxxxxxxxxxxxx>

Applied, thanks

Sascha

> ---
>  arch/x86/include/asm/types.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h
> index b0218d2..d473405 100644
> --- a/arch/x86/include/asm/types.h
> +++ b/arch/x86/include/asm/types.h
> @@ -29,12 +29,16 @@ typedef unsigned int __u32;
>  typedef __signed__ long long __s64;
>  typedef unsigned long long __u64;
>  
> +typedef signed char s8;
>  typedef unsigned char u8;
>  
> +typedef signed short s16;
>  typedef unsigned short u16;
>  
> +typedef signed int s32;
>  typedef unsigned int u32;
>  
> +typedef signed long long s64;
>  typedef unsigned long long u64;
>  
>  #endif /* __ASSEMBLY__ */
> -- 
> 1.8.3
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux