From: Giuseppe CAVALLARO Date: Wed, 24 Nov 2010 02:38:05 +0000 (+0000) Subject: stmmac: add init/exit callback in plat_stmmacenet_data struct X-Git-Url: https://bbs.cooldavid.org/git/?a=commitdiff_plain;h=293bb1c41b728d4aa248fe8a0acd2b9066ff5c34;hp=293bb1c41b728d4aa248fe8a0acd2b9066ff5c34;p=net-next-2.6.git stmmac: add init/exit callback in plat_stmmacenet_data struct This patch adds in the plat_stmmacenet_data the init and exit callbacks that can be used for invoking specific platform functions. For example, on ST targets, these call the PAD manager functions to set PIO lines and syscfg registers. The patch removes the stmmac_claim_resource only used on STM Kernels as well. Signed-off-by: Giuseppe Cavallaro Signed-off-by: David S. Miller ---