Avoid a build warning by making the probe function static: drivers/net/ethernet/natsemi/xtsonic.c:200:5: warning: no previous prototype for 'xtsonic_probe' [-Wmissing-prototypes] 200 | int xtsonic_probe(struct platform_device *pdev) Signed-off-by: Randy Dunlap --- Cc: Thomas Bogendoerfer Cc: Andrew Lunn Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Cc: netdev@vger.kernel.org drivers/net/ethernet/natsemi/xtsonic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linext-2026-1007.orig/drivers/net/ethernet/natsemi/xtsonic.c +++ linext-2026-1007/drivers/net/ethernet/natsemi/xtsonic.c @@ -197,7 +197,7 @@ out: * Actually probing is superfluous but we're paranoid. */ -int xtsonic_probe(struct platform_device *pdev) +static int xtsonic_probe(struct platform_device *pdev) { struct net_device *dev; struct sonic_local *lp;