]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] staging/tm6000: Fix a warning message
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 7 Oct 2010 12:42:43 +0000 (09:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:17:02 +0000 (01:17 -0200)
commit94d4350c544066d590eee93582220128e8be8b1c
treebb1830948998a0168f1dfa3ecdb7f56bd61e9436
parent2b361ab6d54ddd4322d730ecbee25ab4b98aa36f
[media] staging/tm6000: Fix a warning message

I added a code to the driver to force it to produce a warning. This
were intended to remind me about a very bad hack. I never found a way
to workaround. So, instead of those warnings:

drivers/staging/tm6000/tm6000-core.c: In function ‘tm6000_init_analog_mode’:
drivers/staging/tm6000/tm6000-core.c:328: warning: ISO C90 forbids mixed declarations and code

Let's document the issue and hope if someone with the support of the vendor
might fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-core.c