# \[PATCH\#2 1/4\] \[POWERPC\] Fix copy'n'paste typo in commproc.c

- From: Jochen Friedrich \<jochen@scram.de\>
- Date: 2007-09-24 17:13:58 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2007/09/1007449
- Thread: https://ratatoskr.run/lkml/2007/09/1007449/t.md

```text
The powerpc version of commproc.c exports cpm_dpram_addr twice
and cpm_dpram_phys not at all due to a typo. This patch fixes this
problem.

CC      arch/powerpc/sysdev/commproc.o
arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kcrctab_cpm_dpram_addr'
arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kcrctab_cpm_dpram_addr' was here
arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kstrtab_cpm_dpram_addr'
arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kstrtab_cpm_dpram_addr' was here
arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__ksymtab_cpm_dpram_addr'
arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__ksymtab_cpm_dpram_addr' was here
make[1]: *** [arch/powerpc/sysdev/commproc.o] Error 1
make: *** [arch/powerpc/sysdev] Error 2

Signed-off-by: Jochen Friedrich <jochen@scram.de>
---
arch/powerpc/sysdev/commproc.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
```

## Attachments

- [ef0b35e6f35cd911148c86f0b73cce536968d5b5.diff](https://ratatoskr.run/linuxppc-dev/2007/09/1007449/attachment/0) (text/x-patch, 355 bytes)
