From: Thomas Petazzoni Date: Mon, 19 Nov 2012 13:40:02 +0000 (+0100) Subject: net: mvneta: fix section mismatch warning caused by mvneta_deinit() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~12^2~1^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70eeaf98453191e5aede957c0c2ece05cf1a0f23;p=pandora-kernel.git net: mvneta: fix section mismatch warning caused by mvneta_deinit() mvneta_deinit() can be called from the ->probe() hook in the error path, so it shouldn't be marked as __devexit. It fixes the following section mismatch warning: WARNING: vmlinux.o(.devinit.text+0x239c): Section mismatch in reference from the function mvneta_probe() to the function .devexit.text:mvneta_deinit() The function __devinit mvneta_probe() references a function __devexit mvneta_deinit(). Signed-off-by: Thomas Petazzoni --- Reading git-diff-tree failed