Re: [2.6 patch] x86: make struct efi_phys static

Huang, Ying
2008-02-14T02:07:06Z

On Wed, 2008-02-13 at 23:29 +0200, Adrian Bunk wrote:
> Thuis patch makes the needlessly global struct efi_phys static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
> 3002c1d384e748f2928823ff4b10ed4d6082dceb
> diff --git a/arch/x86/kernel/efi.c b/arch/x86/kernel/efi.c
> index 1411324..1211ab2 100644
> --- a/arch/x86/kernel/efi.c
> +++ b/arch/x86/kernel/efi.c
> @@ -54,7 +54,7 @@ EXPORT_SYMBOL(efi);
>
> struct efi_memory_map memmap;
>
> -struct efi efi_phys __initdata;
> +static struct efi efi_phys __initdata;
> static efi_system_table_t efi_systab __initdata;
>
> static int __init setup_noefi(char *arg)

Reviewed-by: Huang Ying <ying.huang@intel.com>

Best Regards,
Huang Ying