datapath: Fix compiler warning on older kernel.
[openvswitch] / datapath / dp_sysfs.h
index 20a5548ab7b8d751688e30adf69453393703c359..49af58a228fd8d0b13127a8a9ee13fbe53922cb2 100644 (file)
@@ -21,7 +21,7 @@ int dp_sysfs_add_if(struct vport *p);
 int dp_sysfs_del_if(struct vport *p);
 
 #ifdef CONFIG_SYSFS
-extern const struct sysfs_ops brport_sysfs_ops;
+extern struct sysfs_ops brport_sysfs_ops;
 #endif
 
 #endif /* dp_sysfs.h */