diff options
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/fdt.c | 2 | ||||
-rw-r--r-- | drivers/of/of_mdio.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index c9db49c10f45..8b63a691a9ed 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c | |||
@@ -676,7 +676,7 @@ int __init early_init_dt_scan_chosen(unsigned long node, const char *uname, | |||
676 | 676 | ||
677 | early_init_dt_check_for_initrd(node); | 677 | early_init_dt_check_for_initrd(node); |
678 | 678 | ||
679 | /* Retreive command line */ | 679 | /* Retrieve command line */ |
680 | p = of_get_flat_dt_prop(node, "bootargs", &l); | 680 | p = of_get_flat_dt_prop(node, "bootargs", &l); |
681 | if (p != NULL && l > 0) | 681 | if (p != NULL && l > 0) |
682 | strlcpy(cmd_line, p, min((int)l, COMMAND_LINE_SIZE)); | 682 | strlcpy(cmd_line, p, min((int)l, COMMAND_LINE_SIZE)); |
diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c index dcd7857784f2..d35e300b0ad1 100644 --- a/drivers/of/of_mdio.c +++ b/drivers/of/of_mdio.c | |||
@@ -136,7 +136,7 @@ EXPORT_SYMBOL(of_phy_find_device); | |||
136 | * @hndlr: Link state callback for the network device | 136 | * @hndlr: Link state callback for the network device |
137 | * @iface: PHY data interface type | 137 | * @iface: PHY data interface type |
138 | * | 138 | * |
139 | * Returns a pointer to the phy_device if successfull. NULL otherwise | 139 | * Returns a pointer to the phy_device if successful. NULL otherwise |
140 | */ | 140 | */ |
141 | struct phy_device *of_phy_connect(struct net_device *dev, | 141 | struct phy_device *of_phy_connect(struct net_device *dev, |
142 | struct device_node *phy_np, | 142 | struct device_node *phy_np, |