diff options
author | Scott Wood <scottwood@freescale.com> | 2014-04-07 23:49:35 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-07 23:49:35 (GMT) |
commit | 62b8c978ee6b8d135d9e7953221de58000dba986 (patch) | |
tree | 683b04b2e627f6710c22c151b23c8cc9a165315e /drivers/video/hecubafb.c | |
parent | 78fd82238d0e5716578c326404184a27ba67fd6e (diff) | |
download | linux-fsl-qoriq-62b8c978ee6b8d135d9e7953221de58000dba986.tar.xz |
Rewind v3.13-rc3+ (78fd82238d0e5716) to v3.12
Diffstat (limited to 'drivers/video/hecubafb.c')
-rw-r--r-- | drivers/video/hecubafb.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/drivers/video/hecubafb.c b/drivers/video/hecubafb.c index f64120e..59d2318 100644 --- a/drivers/video/hecubafb.c +++ b/drivers/video/hecubafb.c @@ -261,8 +261,9 @@ static int hecubafb_probe(struct platform_device *dev) goto err_fbreg; platform_set_drvdata(dev, info); - fb_info(info, "Hecuba frame buffer device, using %dK of video memory\n", - videomemorysize >> 10); + printk(KERN_INFO + "fb%d: Hecuba frame buffer device, using %dK of video memory\n", + info->node, videomemorysize >> 10); /* this inits the dpy */ retval = par->board->init(par); @@ -304,7 +305,19 @@ static struct platform_driver hecubafb_driver = { .name = "hecubafb", }, }; -module_platform_driver(hecubafb_driver); + +static int __init hecubafb_init(void) +{ + return platform_driver_register(&hecubafb_driver); +} + +static void __exit hecubafb_exit(void) +{ + platform_driver_unregister(&hecubafb_driver); +} + +module_init(hecubafb_init); +module_exit(hecubafb_exit); MODULE_DESCRIPTION("fbdev driver for Hecuba/Apollo controller"); MODULE_AUTHOR("Jaya Kumar"); |