add module parameters so that we can configure X and Y resolutions
and bpp when using this driver as a module.
Signed-off-by: Sudip Mukherjee <redacted>
---
drivers/staging/sm7xxfb/sm7xxfb.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
On Tue, Mar 24, 2015 at 10:20:08AM +0530, Sudip Mukherjee wrote:
quoted hunk
add module parameters so that we can configure X and Y resolutions
and bpp when using this driver as a module.
Signed-off-by: Sudip Mukherjee <redacted>
---
drivers/staging/sm7xxfb/sm7xxfb.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
That's funny :)
And how do you handle multiple devices in the system?
:(
Seriously, never use module parameters for device parameters, they are
two different things. The framebuffer core has options for handling
modes, why not use them?
And yes, lots of framebuffer drivers do have crazy module parameters,
but that doesn't mean you have to perpetuate the insanity, please do
things properly here.
thanks,
greg k-h
That's funny :)
And how do you handle multiple devices in the system?
frankly speaking, never got the idea about multiple devices.
:(
Seriously, never use module parameters for device parameters, they are
two different things. The framebuffer core has options for handling
modes, why not use them?
And yes, lots of framebuffer drivers do have crazy module parameters,
but that doesn't mean you have to perpetuate the insanity, please do
things properly here.
i am learning from other framebuffer drivers. i guess i should only
see at skeletonfb.c and not the others.
please drop this 1/2 patch, do i need to resend the 2/2 which adds
the MODULE_DEVICE_TABLE ?
regards
sudip
That's funny :)
And how do you handle multiple devices in the system?
frankly speaking, never got the idea about multiple devices.
quoted
:(
Seriously, never use module parameters for device parameters, they are
two different things. The framebuffer core has options for handling
modes, why not use them?
And yes, lots of framebuffer drivers do have crazy module parameters,
but that doesn't mean you have to perpetuate the insanity, please do
things properly here.
i am learning from other framebuffer drivers. i guess i should only
see at skeletonfb.c and not the others.
please drop this 1/2 patch, do i need to resend the 2/2 which adds
the MODULE_DEVICE_TABLE ?