drivers/char/mxser.c: fix compilation warning in mxser.c
commite89d67cfbcc1ee32339da9e816489f69742c3a6e
authorRakib Mullick <rakib.mullick@gmail.com>
Wed, 27 Oct 2010 22:34:26 +0000 (27 15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:15 +0000 (27 18:03 -0700)
treee99dded01b812efccab43c5b11ccbb27ff3d2b92
parent5a780fc096397f9b62bc6dddced509f012a97e78
drivers/char/mxser.c: fix compilation warning in mxser.c

Both mxser_disable_must_enchance_mode() and mxser_get_must_hardware_id()
called from function CheckIsMoxaMust(), when CONFIG_PCI=y.  So mark both
the functions under CONFIG_PCI.

We were warned by the following warning.

drivers/char/mxser.c:306: warning: `mxser_disable_must_enchance_mode' defined but not used
drivers/char/mxser.c:391: warning: `mxser_get_must_hardware_id'
defined but not used

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mxser.c