[linux-yocto] [PATCH 50/94] arm/include: A clean up of the femac ncr code.

Bruce Ashfield bruce.ashfield at windriver.com
Sat Nov 9 07:50:07 PST 2013


Rather than "clean up", why not just describe what is happening ?
i.e. adding extern function definitions that are used by <foo>
to fix warning <blah>

Bruce

On 11/7/2013, 8:13 PM, Paul Butler wrote:
> Signed-off-by: Paul Butler <paul.butler at windriver.com>
> ---
>   arch/arm/include/asm/lsi/acp_ncr.h | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/include/asm/lsi/acp_ncr.h b/arch/arm/include/asm/lsi/acp_ncr.h
> index a7399e7..1a08f07 100644
> --- a/arch/arm/include/asm/lsi/acp_ncr.h
> +++ b/arch/arm/include/asm/lsi/acp_ncr.h
> @@ -39,4 +39,7 @@ int ncr_write(unsigned long, unsigned long, int, void *);
>
>   int is_asic(void);
>
> +extern int acp_mdio_read(unsigned long, unsigned long, unsigned short *);
> +extern int acp_mdio_write(unsigned long, unsigned long, unsigned short);
> +
>   #endif /*  __DRIVERS_LSI_ACP_NCR_H */
>




More information about the linux-yocto mailing list