{
int ret = 0;
+#ifndef MODULE
+ char *option = NULL;
+
+ if (fb_get_options("vfb", &option))
+ return -ENODEV;
+ vfb_setup(option);
+#endif
+
if (!vfb_enable)
return -ENXIO;
return ret;
}
+module_init(vfb_init);
+
#ifdef MODULE
static void __exit vfb_exit(void)
{
driver_unregister(&vfb_driver);
}
-module_init(vfb_init);
module_exit(vfb_exit);
MODULE_LICENSE("GPL");