[media] siano: apply debug flag to module level
commitea3709435c7f2da8852c3d676874cd727253fc60
authorDoron Cohen <doronc@siano-ms.com>
Wed, 20 Jul 2011 12:07:36 +0000 (20 09:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Aug 2011 12:56:06 +0000 (27 09:56 -0300)
tree99e3914fa0b2b6aba64f96216921d3e61f21320d
parentfda516b72afcddbb617c75c93fe6316e4356a14b
[media] siano: apply debug flag to module level

Siano modules already had sms_dbg flag which is a module parameter which
sets the debug mode so module prints messages to dmesg for debugging.
The variable was static therefore apply only to the file which defines
the module. In modules as smsmdtv.ko that contain a few files, the debug
flag applied only for functions in that main file.
flag was changed to be non-static and therefore can be accessed by all
module files (although it is still not exported out of the module).

Signed-off-by: Doron Cohen <doronc@siano-ms.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/sms-cards.c
drivers/media/dvb/siano/smscoreapi.c
drivers/media/dvb/siano/smscoreapi.h
drivers/media/dvb/siano/smsdvb.c
drivers/media/dvb/siano/smsusb.c