On Mon, 2013-09-02 at 18:11 +0800, Xie Xiaobo wrote: > Define two QE init functions in common file, and avoid > the same codes being duplicated in board files. > > Signed-off-by: Xie Xiaobo <x....@freescale.com> > --- > V3 -> V2: Nochange > > arch/powerpc/platforms/85xx/common.c | 47 > +++++++++++++++++++++++++++++++++++ > arch/powerpc/platforms/85xx/mpc85xx.h | 8 ++++++ > 2 files changed, 55 insertions(+)
Don't just copy it; remove it from the place you copied from and have that code call the common version. -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev