Search Linux Wireless

Re: [PATCH] ath6kl: Fix compile error for ARM

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

 



On 10/26/2011 06:28 PM, Sangwook Lee wrote:
> Fix the compile error for ARM Platform.
> 
> Signed-off-by: Sangwook Lee <sangwook.lee@xxxxxxxxxx>
> ---
> 
> Compile errors come from ARM plaform:
> In file included from drivers/net/wireless/ath/ath6kl/init.c:19:0:
> include/linux/of.h: In function ‘of_property_read_u32_array’:
> include/linux/of.h:249:10: error: ‘ENOSYS’ undeclared 

In my opinion this is a bug in of.h and I sent a patch few weeks ago:

https://lkml.org/lkml/2011/10/6/133

But it seems that openfirmware maintainers don't care as I haven't
received any reply to the patch. So let's just workaround this in ath6kl.

Patch applied, but I changed the commit log a bit. Thank you again.

commit e0627e2c7e0647d174d9fcac06fa194d38740f7d
Author: Sangwook Lee <sangwook.lee@xxxxxxxxxx>
Date:   Wed Oct 26 16:28:38 2011 +0100

    ath6kl: Fix compilation error from of.h

    When compiling ath6kl for ARM with device tree tree compilation fails
    with errors like:

    include/linux/of.h: In function 'of_property_read_u32_array':
    include/linux/of.h:249:10: error: 'ENOSYS' undeclared

    Workaround this by including errno.h from init.c.

    kvalo: improved commit log

    Signed-off-by: Sangwook Lee <sangwook.lee@xxxxxxxxxx>
    Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx>

Kalle
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux