git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/octeontx2: fix icc build for i686
[dpdk.git]
/
drivers
/
raw
/
ifpga_rawdev
/
base
/
ifpga_port_error.c
diff --git
a/drivers/raw/ifpga_rawdev/base/ifpga_port_error.c
b/drivers/raw/ifpga_rawdev/base/ifpga_port_error.c
index
23db562
..
138284e
100644
(file)
--- a/
drivers/raw/ifpga_rawdev/base/ifpga_port_error.c
+++ b/
drivers/raw/ifpga_rawdev/base/ifpga_port_error.c
@@
-84,7
+84,7
@@
static int port_err_set_clear(struct ifpga_port_hw *port, u64 val)
return ret;
}
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;
{
struct ifpga_port_hw *port = feature->parent;
@@
-99,12
+99,12
@@
static int port_error_init(struct feature *feature)
return 0;
}
return 0;
}
-static void port_error_uinit(struct feature *feature)
+static void port_error_uinit(struct
ifpga_
feature *feature)
{
UNUSED(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;
struct feature_prop *prop)
{
struct ifpga_port_hw *port = feature->parent;
@@
-125,7
+125,7
@@
static int port_error_get_prop(struct feature *feature,
return -ENOENT;
}
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;
struct feature_prop *prop)
{
struct ifpga_port_hw *port = feature->parent;
@@
-136,7
+136,7
@@
static int port_error_set_prop(struct feature *feature,
return -ENOENT;
}
return -ENOENT;
}
-struct
feature_ops
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,
.init = port_error_init,
.uinit = port_error_uinit,
.get_prop = port_error_get_prop,