]> git.baikalelectronics.ru Git - kernel.git/commit
netdevsim: declare struct device_type as static
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 19 Dec 2017 20:10:42 +0000 (12:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Dec 2017 17:51:10 +0000 (12:51 -0500)
commit1d129e654262cc9ad2be765c354cd055e42dc766
tree32557b69c89712d64f0246e1d6530bcc6e79db83
parenteb90251694ca5be01c485fcf03622661bee20c83
netdevsim: declare struct device_type as static

struct device_type nsim_dev_type created for SR-IOV support
should be static.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/netdev.c