]> git.karo-electronics.de Git - linux-beck.git/commitdiff
V4L/DVB (6789): tuner: use char *name instead of 128 byte fixed array for demod info
authorMichael Krufky <mkrufky@linuxtv.org>
Mon, 10 Dec 2007 19:08:25 +0000 (16:08 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:30 +0000 (19:03 -0200)
Don't waste 128 bytes of memory for a name that might not actually need it.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-driver.h

index c245f501a319442b45242cd4ef06520a4037b2e3..65ced435018aa18a902ddfe6117ddaa20cea4e29 100644 (file)
@@ -29,7 +29,7 @@
 extern unsigned const int tuner_count;
 
 struct analog_demod_info {
-       char name[128];
+       char *name;
 };
 
 struct analog_tuner_ops {