[PATCH] include/asm-ppc/btext.h: add prototype of btext_init function.

Eugene Surovegin ebs at ebshome.net
Sun Dec 4 08:24:02 EST 2005


On Sat, Dec 03, 2005 at 05:07:06PM -0200, Otavio Salvador wrote:
> The prototype of btext_init function was missing and then caused a compile
> warning.
> 
> ---
> 
>  include/asm-ppc/btext.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> applies-to: 60e8ae37378de2772b6b0768b12a49f923710152
> 786b869f9cfd4c1f82fbc8b20fa8cafb9188e12f
> diff --git a/include/asm-ppc/btext.h b/include/asm-ppc/btext.h
> index ccaefab..2329331 100644
> --- a/include/asm-ppc/btext.h
> +++ b/include/asm-ppc/btext.h
> @@ -18,6 +18,7 @@ extern boot_infos_t disp_bi;
>  extern int boot_text_mapped;
>  
>  extern void init_boot_display(void);
> +extern void __init btext_init(boot_infos_t *bi);
>  extern void btext_welcome(void);
>  extern void btext_prepare_BAT(void);
>  extern void btext_setup_display(int width, int height, int depth, int pitch,

"__init" should be placed between closing brace and semicolon. For 
more info, see include/linux/init.h

-- 
Eugene




More information about the Linuxppc-dev mailing list