]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/t4qds: move VSC3316 config data from t4qds.h to t4qds.c
authorTimur Tabi <timur@freescale.com>
Wed, 12 Dec 2012 11:07:12 +0000 (11:07 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 30 Jan 2013 17:25:08 +0000 (11:25 -0600)
commitde757a7af05239fec359a13347b1c05ecbb59944
tree36dae5df97dcc25e11ecbf19b2d639860553e8e2
parent220d506af3dd45b8e5a79267d46171fa8487066b
powerpc/t4qds: move VSC3316 config data from t4qds.h to t4qds.c

Static variables should be defined in C files, not header files, because
otherwise every C file that #includes the header file will generate a
duplicate of the variables.  Since the vsc3316_xxx[] arrays are only
used by t4qds.c anyway, just put the variables there.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
board/freescale/t4qds/t4qds.c
board/freescale/t4qds/t4qds.h