netdev: Make 'netdev' parameter of 'get_features()' const.
[openvswitch] / lib / netdev-linux.c
index 1ff4d4096af02d91566442bc7faa14857a4d98e8..168cd012f1b7466ac8170ea87b03ce765b71b709 100644 (file)
@@ -1201,7 +1201,7 @@ netdev_linux_get_stats(const struct netdev *netdev_,
  * bitmap of "enum ofp_port_features" bits, in host byte order.  Returns 0 if
  * successful, otherwise a positive errno value. */
 static int
-netdev_linux_get_features(struct netdev *netdev,
+netdev_linux_get_features(const struct netdev *netdev,
                           uint32_t *current, uint32_t *advertised,
                           uint32_t *supported, uint32_t *peer)
 {