spapr: fix bogus function name in comment
PATCH 1/1 spapr: fix bogus function name in comment
$ git grep spapr_ppc_reset hw/ppc/spapr.c: * as part of spapr_ppc_reset().
$ git grep ppc_spapr_reset hw/ppc/spapr.c:static void ppc_spapr_reset(void) hw/ppc/spapr.c: mc->reset = ppc_spapr_reset; hw/ppc/spapr_hcall.c: /* If ppc_spapr_reset() did not set up a HPT but one is necessary
Signed-off-by Greg Kurz <[email protected]>
--- hw/ppc/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/spapr.c +1 -1
@@ -1973,7 +1973,7 @@ static void spapr_boot_set(void *opaque, const char *boot_device,* Unlike PCI DR devices, LMB DR devices explicitly register this reset * routine. Reset for PCI DR devices will be handled by PHB reset routine * when it walks all its children devices. LMB devices reset occurs -* as part of spapr_ppc_reset(). +* as part of ppc_spapr_reset(). */ static void spapr_drc_reset (void *opaque) {
David Gibson
AppliedQuoted 10 lines · Greg Kurz
$ git grep spapr_ppc_reset hw/ppc/spapr.c: * as part of spapr_ppc_reset().$ git grep ppc_spapr_reset hw/ppc/spapr.c:static void ppc_spapr_reset(void) hw/ppc/spapr.c: mc->reset = ppc_spapr_reset; hw/ppc/spapr_hcall.c: /* If ppc_spapr_reset() did not set up a HPT but one is necessarySigned-off-by Greg Kurz <[email protected]>
Applied to ppc-for-2.10.
Quoted 18 lines
--- hw/ppc/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/ppc/spapr.c +1
-1@@ -1973,7 +1973,7 @@ static void spapr_boot_set(void *opaque, const char *boot_device,* Unlike PCI DR devices, LMB DR devices explicitly register this reset * routine. Reset for PCI DR devices will be handled by PHB reset routine * when it walks all its children devices. LMB devices reset occurs -* as part of spapr_ppc_reset(). +* as part of ppc_spapr_reset(). */ static void spapr_drc_reset (void *opaque) {
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson