leds: add missing include of linux/module.h

Add missing include of linux/module.h for drivers that use interfaces from
linux/module.h.  This patch fixes build errors.

Signed-off-by: Axel Lin <[email protected]>
Cc: Jonathan McDowell <[email protected]>
Acked-by: Kristoffer Ericson <[email protected]>
Cc: Magnus Damm <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Axel Lin 2011-08-25 15:59:15 -07:00 • committed by Linus Torvalds
commit 86383b5579
2 changed files with 2 additions and 0 deletions

View file

@ -8,6 +8,7 @@
* published by the Free Software Foundation.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>

View file

@ -10,6 +10,7 @@
* published by the Free Software Foundation.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>