aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c
diff options
context:
space:
mode:
authorTal Gilboa <talgi@mellanox.com>2019-01-31 16:44:48 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2019-06-25 13:46:39 -0700
commit8960b38932bee8db0bc9c4d8c135f21df6cdd297 (patch)
tree411faabad103240faad36000dd42362b7d8a3f91 /drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c
parentlinux/dim: Rename net_dim_sample() to net_dim_update_sample() (diff)
downloadlinux-dev-8960b38932bee8db0bc9c4d8c135f21df6cdd297.tar.xz
linux-dev-8960b38932bee8db0bc9c4d8c135f21df6cdd297.zip
linux/dim: Rename externally used net_dim members
Removed 'net' prefix from functions and structs used by external drivers. Signed-off-by: Tal Gilboa <talgi@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c')
-rw-r--r--drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c
index 94e208e9789f..3d1d53fbb135 100644
--- a/drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c
+++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c
@@ -21,7 +21,7 @@ static ssize_t debugfs_dim_read(struct file *filep,
char __user *buffer,
size_t count, loff_t *ppos)
{
- struct net_dim *dim = filep->private_data;
+ struct dim *dim = filep->private_data;
int len;
char *buf;
@@ -61,7 +61,7 @@ static const struct file_operations debugfs_dim_fops = {
.read = debugfs_dim_read,
};
-static struct dentry *debugfs_dim_ring_init(struct net_dim *dim, int ring_idx,
+static struct dentry *debugfs_dim_ring_init(struct dim *dim, int ring_idx,
struct dentry *dd)
{
static char qname[16];