diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 4848c7afa4e7..5a11f889e56a 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1064,7 +1064,7 @@ extern void netdev_run_todo(void); | |||
1064 | * dev_put - release reference to device | 1064 | * dev_put - release reference to device |
1065 | * @dev: network device | 1065 | * @dev: network device |
1066 | * | 1066 | * |
1067 | * Hold reference to device to keep it from being freed. | 1067 | * Release reference to device to allow it to be freed. |
1068 | */ | 1068 | */ |
1069 | static inline void dev_put(struct net_device *dev) | 1069 | static inline void dev_put(struct net_device *dev) |
1070 | { | 1070 | { |
@@ -1075,7 +1075,7 @@ static inline void dev_put(struct net_device *dev) | |||
1075 | * dev_hold - get reference to device | 1075 | * dev_hold - get reference to device |
1076 | * @dev: network device | 1076 | * @dev: network device |
1077 | * | 1077 | * |
1078 | * Release reference to device to allow it to be freed. | 1078 | * Hold reference to device to keep it from being freed. |
1079 | */ | 1079 | */ |
1080 | static inline void dev_hold(struct net_device *dev) | 1080 | static inline void dev_hold(struct net_device *dev) |
1081 | { | 1081 | { |