Skip to content

Commit 1e562c8

Browse files
yangbolu1991davem330
authored andcommitted
ptp_qoriq: make structure/function names more consistent
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>
1 parent 4ea7b0c commit 1e562c8

5 files changed

Lines changed: 171 additions & 171 deletions

File tree

‎drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ static int dpaa_get_ts_info(struct net_device *net_dev,
501501
struct device_node *mac_node = dev->of_node;
502502
struct device_node *fman_node = NULL, *ptp_node = NULL;
503503
struct platform_device *ptp_dev = NULL;
504-
struct qoriq_ptp *ptp = NULL;
504+
struct ptp_qoriq *ptp = NULL;
505505

506506
info->phc_index = -1;
507507

‎drivers/net/ethernet/freescale/gianfar_ethtool.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ static int gfar_get_ts_info(struct net_device *dev,
14921492
struct gfar_private *priv = netdev_priv(dev);
14931493
struct platform_device *ptp_dev;
14941494
struct device_node *ptp_node;
1495-
struct qoriq_ptp *ptp = NULL;
1495+
struct ptp_qoriq *ptp = NULL;
14961496

14971497
info->phc_index = -1;
14981498

0 commit comments

Comments
 (0)