return ret;
}
-static int port_error_init(struct feature *feature)
+static int port_error_init(struct ifpga_feature *feature)
{
struct ifpga_port_hw *port = feature->parent;
return 0;
}
-static void port_error_uinit(struct feature *feature)
+static void port_error_uinit(struct ifpga_feature *feature)
{
UNUSED(feature);
}
-static int port_error_get_prop(struct feature *feature,
+static int port_error_get_prop(struct ifpga_feature *feature,
struct feature_prop *prop)
{
struct ifpga_port_hw *port = feature->parent;
return -ENOENT;
}
-static int port_error_set_prop(struct feature *feature,
+static int port_error_set_prop(struct ifpga_feature *feature,
struct feature_prop *prop)
{
struct ifpga_port_hw *port = feature->parent;
return -ENOENT;
}
-struct feature_ops ifpga_rawdev_port_error_ops = {
+struct ifpga_feature_ops ifpga_rawdev_port_error_ops = {
.init = port_error_init,
.uinit = port_error_uinit,
.get_prop = port_error_get_prop,