summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-03-10 14:15:39 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-10 16:02:35 +0100
commit5c7784b9d64027145ce4dee2b488c8c11af732cc (patch)
tree520040493a1bee57c7c2aea0b6c931ab507b2ba4 /drivers/staging/sm750fb
parent848f2fce7b2713d853eaa7f32b31bb9ffe89e2ce (diff)
downloadop-kernel-dev-5c7784b9d64027145ce4dee2b488c8c11af732cc.zip
op-kernel-dev-5c7784b9d64027145ce4dee2b488c8c11af732cc.tar.gz
staging: sm750fb: fix build failure
for powerpc-allyesconfig build failed with an error of g_option undeclared. we will get this error on all architecture if MODULE is not defined. fixed the declaration of g_option. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb')
-rw-r--r--drivers/staging/sm750fb/sm750.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index 476dc5c..8c260ee 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -54,9 +54,7 @@ static const char * g_fbmode[] = {NULL,NULL};
static const char * g_def_fbmode = "800x600-16@60";
static char * g_settings = NULL;
static int g_dualview = 0;
-#ifdef MODULE
static char * g_option = NULL;
-#endif
/* if not use spin_lock,system will die if user load driver
* and immediatly unload driver frequently (dual)*/
OpenPOWER on IntegriCloud