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)
commitfd5ebbc75ccba3487524fb03e784fa598b214d72
tree32557b69c89712d64f0246e1d6530bcc6e79db83
parent5d0c138eff18651549e5501aaca8f3726cc9a6b5
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