netdev: Make 'netdev' parameter of 'get_features()' const.
[openvswitch] / lib / netdev-provider.h
index 9c75ccb6dcb6543b48e169d1eab458e6e4df11c1..58d51d7b70ea3a9ea694a65cf2995d952c0aed72 100644 (file)
@@ -295,7 +295,7 @@ struct netdev_class {
      *
      * This function may be set to null if it would always return EOPNOTSUPP.
      */
-    int (*get_features)(struct netdev *netdev,
+    int (*get_features)(const struct netdev *netdev,
                         uint32_t *current, uint32_t *advertised,
                         uint32_t *supported, uint32_t *peer);