diff options
author | Simon Horman <[email protected]> | 2017-06-29 22:08:11 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-07-01 08:51:32 -0700 |
commit | d643a75ac2bcc559994405d29c50ed086aeae434 (patch) | |
tree | 4bbea8edf3f410b77335260fad10fa3acbb8adad /include/linux/uts.h | |
parent | 7f304b9efabbad584b093289d135bebdc09b222e (diff) |
net: switchdev: add SET_SWITCHDEV_OPS helper
Add a helper to allow switchdev ops to be set if NET_SWITCHDEV is configured
and do nothing otherwise. This allows for slightly cleaner code which
uses switchdev but does not select NET_SWITCHDEV.
Signed-off-by: Simon Horman <[email protected]>
Acked-by: Ivan Vecera <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/uts.h')
0 files changed, 0 insertions, 0 deletions