From: Rakib Mullick Date: Wed, 27 Oct 2010 22:34:26 +0000 (-0700) Subject: drivers/char/mxser.c: fix compilation warning in mxser.c X-Git-Tag: v2.6.37-rc1~85^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e89d67cfbcc1ee32339da9e816489f69742c3a6e;p=pandora-kernel.git 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 Cc: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed