mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
net: natsemi: xtsonic: make probe function static
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 <rdunlap@infradead.org> Reviewed-by: Björn Töpel <bjorn@kernel.org> Link: https://patch.msgid.link/20261008183013.3223131-1-rdunlap@infradead.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
32a8010d2c
commit
26a8396802
|
|
@ -197,7 +197,7 @@ static int sonic_probe1(struct net_device *dev)
|
|||
* 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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user