From: Xiubo Li
Date: Wed, 4 Jun 2014 08:49:16 +0000 (+0800)
Subject: gianfar: Fix the section mismatch warnings.
X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~75
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=898157ed7473683d515532f9f14bfd2f7743ccd2;p=pandora-kernel.git
gianfar: Fix the section mismatch warnings.
Building with CONFIG_DEBUG_SECTION_MISMATCH enabled, the following
WARNING is occured:
LD drivers/net/built-in.o
WARNING: drivers/net/built-in.o(.text+0xcd4c): Section mismatch in
reference from the function gfar_probe() to the function
.init.text:gfar_init_addr_hash_table()
The function gfar_probe() references
the function __init gfar_init_addr_hash_table().
This is often because gfar_probe lacks a __init
annotation or the annotation of gfar_init_addr_hash_table is wrong.
Signed-off-by: Xiubo Li
Signed-off-by: David S. Miller
---
Reading git-diff-tree failed