[media] tuner-core: Don't use a static var for xc5000_cfg
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 4 Feb 2011 15:56:39 +0000 (12:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:02 +0000 (20:32 -0300)
commit900f734b3bafb4e111b9ec5d865c448a9911b2ab
treebd2dbb7c257596f132dcd8cd78c117d540cc1c43
parent7d275bf840a8f390b8fd3d686545e09ef01f7915
[media] tuner-core: Don't use a static var for xc5000_cfg

A static var is evil, especially if a device has two boards with
xc5000. Instead, just like the other drivers, use stack to store
its config during setup.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tuner-core.c