diff options
Diffstat (limited to 'net/xfrm/xfrm_device.c')
-rw-r--r-- | net/xfrm/xfrm_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_device.c b/net/xfrm/xfrm_device.c index 574e6f32f94f..6d4a60d1bf19 100644 --- a/net/xfrm/xfrm_device.c +++ b/net/xfrm/xfrm_device.c | |||
@@ -138,7 +138,7 @@ ok: | |||
138 | } | 138 | } |
139 | EXPORT_SYMBOL_GPL(xfrm_dev_offload_ok); | 139 | EXPORT_SYMBOL_GPL(xfrm_dev_offload_ok); |
140 | 140 | ||
141 | int xfrm_dev_register(struct net_device *dev) | 141 | static int xfrm_dev_register(struct net_device *dev) |
142 | { | 142 | { |
143 | if ((dev->features & NETIF_F_HW_ESP) && !dev->xfrmdev_ops) | 143 | if ((dev->features & NETIF_F_HW_ESP) && !dev->xfrmdev_ops) |
144 | return NOTIFY_BAD; | 144 | return NOTIFY_BAD; |