Warning log:
MODPOST vmlinux.o
WARNING: vmlinux.o(.data+0xb078): Section mismatch in reference
from the variable axienet_of_driver to the function
.init.text:axienet_probe()
The variable axienet_of_driver references
the function __init axienet_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
Signed-off-by: Michal Simek <monstr@monstr.eu>
Conflicts:
drivers/net/xilinx_axienet_main.c
* device. Parses through device tree and populates fields of
* axienet_local. It registers the Ethernet device.
**/
-static int __init
-axienet_of_probe(struct platform_device *op, const struct of_device_id *match)
+static int __devinit
+axienet_of_probe(struct platform_device *op)
{
struct device_node *np;
struct axienet_local *lp;