]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/regulator/aat2870-regulator.c
regulator: aat2870-regulator.c needs module.h
authorRandy Dunlap <rdunlap@xenotime.net>
Sat, 30 Jul 2011 04:13:09 +0000 (06:13 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 8 Aug 2011 16:12:51 +0000 (17:12 +0100)
commit3a7d021b5e1de205c964c30d0ceda660501dc107
treed83e125b8a0aea4c15877ba61045e5300af05920
parent322a8b034003c0d46d39af85bf24fee27b902f48
regulator: aat2870-regulator.c needs module.h

aat2870-regulator.c needs to include linux/module.h to fix multiple
build errors.

drivers/regulator/aat2870-regulator.c:145: error: 'THIS_MODULE' undeclared here (not in a function)
drivers/regulator/aat2870-regulator.c:230: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
drivers/regulator/aat2870-regulator.c:231: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
drivers/regulator/aat2870-regulator.c:232: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/aat2870-regulator.c