diff options
author | Li Zhong <zhong@linux.vnet.ibm.com> | 2014-08-07 01:11:58 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-08-26 03:35:55 -0400 |
commit | 4646d13199c4428f43ce390ca26c21c85de5f604 (patch) | |
tree | 21952bde03baa7ac6d64d4b8973cf90b6e1fd130 | |
parent | 9b13494c916dc0bf93802d7426b477cc0130fb48 (diff) |
powerpc: Fix comment typos in hotplug-memory.c
bae->base
niumber->number
Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | arch/powerpc/platforms/pseries/hotplug-memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c b/arch/powerpc/platforms/pseries/hotplug-memory.c index 7995135170a3..369da0f09066 100644 --- a/arch/powerpc/platforms/pseries/hotplug-memory.c +++ b/arch/powerpc/platforms/pseries/hotplug-memory.c | |||
@@ -126,7 +126,7 @@ static int pseries_remove_mem_node(struct device_node *np) | |||
126 | return 0; | 126 | return 0; |
127 | 127 | ||
128 | /* | 128 | /* |
129 | * Find the bae address and size of the memblock | 129 | * Find the base address and size of the memblock |
130 | */ | 130 | */ |
131 | regs = of_get_property(np, "reg", NULL); | 131 | regs = of_get_property(np, "reg", NULL); |
132 | if (!regs) | 132 | if (!regs) |
@@ -200,7 +200,7 @@ static int pseries_update_drconf_memory(struct of_prop_reconfig *pr) | |||
200 | 200 | ||
201 | /* The first int of the property is the number of lmb's described | 201 | /* The first int of the property is the number of lmb's described |
202 | * by the property. This is followed by an array of of_drconf_cell | 202 | * by the property. This is followed by an array of of_drconf_cell |
203 | * entries. Get the niumber of entries and skip to the array of | 203 | * entries. Get the number of entries and skip to the array of |
204 | * of_drconf_cell's. | 204 | * of_drconf_cell's. |
205 | */ | 205 | */ |
206 | entries = *p++; | 206 | entries = *p++; |