Re: [PATCH 3/5] staging: sm7xxfb: use kernel commandline

2015-07-14 Thread Greg Kroah-Hartman
On Tue, Jul 07, 2015 at 01:44:35PM +0530, Sudip Mukherjee wrote:
 We were only using the kernel commandline to set the mode if this driver
 is builtin, but when it is built as a module we were not having any way
 to set the mode. Start using commandline even if it is built as a
 module.
 
 Signed-off-by: Sudip Mukherjee su...@vectorindia.org

I applied the first 3 patches here, but not 4 and 5.
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH 3/5] staging: sm7xxfb: use kernel commandline

2015-07-07 Thread Sudip Mukherjee
We were only using the kernel commandline to set the mode if this driver
is builtin, but when it is built as a module we were not having any way
to set the mode. Start using commandline even if it is built as a
module.

Signed-off-by: Sudip Mukherjee su...@vectorindia.org
---
 drivers/staging/sm7xxfb/sm7xxfb.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c 
b/drivers/staging/sm7xxfb/sm7xxfb.c
index 8fb62af..4dc9d5f 100644
--- a/drivers/staging/sm7xxfb/sm7xxfb.c
+++ b/drivers/staging/sm7xxfb/sm7xxfb.c
@@ -1660,14 +1660,12 @@ static struct pci_driver smtcfb_driver = {
 
 static int __init sm712fb_init(void)
 {
-#ifndef MODULE
char *option = NULL;
 
if (fb_get_options(sm712fb, option))
return -ENODEV;
if (option  *option)
mode_option = option;
-#endif
sm7xx_vga_setup(mode_option);
 
return pci_register_driver(smtcfb_driver);
-- 
1.8.1.2

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel