Skip to content

Commit

Permalink
video/omap: add __init/__exit macros to drivers/video/omap/lcd_htcher…
Browse files Browse the repository at this point in the history
…ald.c

Trivial patch which adds the __init/__exit macros to the module_init/
module_exit functions of

drivers/video/omap/lcd_htcherald.c

Please have a look at the small patch and either pull it through
your tree, or please ack' it so Jiri can pull it through the trivial
tree.

Patch against linux-next-tree, 22. Dez 08:38:18 CET 2009
but also present in linus tree.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Peter Huewe authored and Tomi Valkeinen committed Jan 11, 2010
1 parent 5c18df8 commit 7f000dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/omap/lcd_htcherald.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ struct platform_driver htcherald_panel_driver = {
},
};

static int htcherald_panel_drv_init(void)
static int __init htcherald_panel_drv_init(void)
{
return platform_driver_register(&htcherald_panel_driver);
}

static void htcherald_panel_drv_cleanup(void)
static void __exit htcherald_panel_drv_cleanup(void)
{
platform_driver_unregister(&htcherald_panel_driver);
}
Expand Down

0 comments on commit 7f000dd

Please sign in to comment.