|
@@ -1396,7 +1396,8 @@ static struct platform_driver pxafb_driver = {
|
|
int __devinit pxafb_setup(char *options)
|
|
int __devinit pxafb_setup(char *options)
|
|
{
|
|
{
|
|
# ifdef CONFIG_FB_PXA_PARAMETERS
|
|
# ifdef CONFIG_FB_PXA_PARAMETERS
|
|
- strlcpy(g_options, options, sizeof(g_options));
|
|
|
|
|
|
+ if (options)
|
|
|
|
+ strlcpy(g_options, options, sizeof(g_options));
|
|
# endif
|
|
# endif
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|