]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
leds: Fix leds-gpio driver multiple module_init/exit usage
authorRichard Purdie <rpurdie@linux.intel.com>
Mon, 2 Feb 2009 23:04:42 +0000 (23:04 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 6 Apr 2009 15:06:26 +0000 (16:06 +0100)
commitb2bdc3e7130001804f27e7c1254930143119f435
tree389a878d3e427bdb424685e87d1eb9f04416b5e2
parentac2dd0f110d5ab0359de7786e88e9971954ac7ee
leds: Fix leds-gpio driver multiple module_init/exit usage

You can't have multiple module_init()/module_exit calls so resort to messy
ifdefs potentially pending some code refactoring.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/leds-gpio.c