Skip to content

Commit

Permalink
ptp_qoriq: make structure/function names more consistent
Browse files Browse the repository at this point in the history
Strings containing "ptp_qoriq" or "qoriq_ptp" which were used for
structure/function names were complained by users. Let's just use
the unique "ptp_qoriq" to make these names more consistent.
This patch is just to unify the names using "ptp_qoriq". It hasn't
changed any functions.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Yangbo Lu authored and David S. Miller committed Feb 12, 2019
1 parent 4ea7b0c commit 1e562c8
Show file tree
Hide file tree
Showing 5 changed files with 171 additions and 171 deletions.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ static int dpaa_get_ts_info(struct net_device *net_dev,
struct device_node *mac_node = dev->of_node;
struct device_node *fman_node = NULL, *ptp_node = NULL;
struct platform_device *ptp_dev = NULL;
struct qoriq_ptp *ptp = NULL;
struct ptp_qoriq *ptp = NULL;

info->phc_index = -1;

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ethernet/freescale/gianfar_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,7 @@ static int gfar_get_ts_info(struct net_device *dev,
struct gfar_private *priv = netdev_priv(dev);
struct platform_device *ptp_dev;
struct device_node *ptp_node;
struct qoriq_ptp *ptp = NULL;
struct ptp_qoriq *ptp = NULL;

info->phc_index = -1;

Expand Down
Loading

0 comments on commit 1e562c8

Please sign in to comment.