• Vasily Khoruzhick's avatar
    s3c-adc-battery: Fix compilation error due to missing header (module.h) · 815efa1e
    Vasily Khoruzhick authored
    Add linux/module.h to fix this compilation error:
    
    drivers/power/s3c_adc_battery.c:435:15: error: expected declaration specifiers or ‘...’ before string constant
    drivers/power/s3c_adc_battery.c:435:1: warning: data definition has no type or storage class
    drivers/power/s3c_adc_battery.c:435:1: warning: type defaults to ‘int’ in declaration of ‘MODULE_AUTHOR’
    drivers/power/s3c_adc_battery.c:435:15: warning: function declaration isn’t a prototype
    drivers/power/s3c_adc_battery.c:436:20: error: expected declaration specifiers or ‘...’ before string constant
    drivers/power/s3c_adc_battery.c:436:1: warning: data definition has no type or storage class
    drivers/power/s3c_adc_battery.c:436:1: warning: type defaults to ‘int’ in declaration of ‘MODULE_DESCRIPTION’
    drivers/power/s3c_adc_battery.c:436:20: warning: function declaration isn’t a prototype
    drivers/power/s3c_adc_battery.c:437:16: error: expected declaration specifiers or ‘...’ before string constant
    drivers/power/s3c_adc_battery.c:437:1: warning: data definition has no type or storage class
    drivers/power/s3c_adc_battery.c:437:1: warning: type defaults to ‘int’ in declaration of ‘MODULE_LICENSE’
    drivers/power/s3c_adc_battery.c:437:16: warning: function declaration isn’t a prototype
    make[2]: *** [drivers/power/s3c_adc_battery.o] Error 1
    Signed-off-by: default avatarVasily Khoruzhick <anarsoul@gmail.com>
    Signed-off-by: default avatarIan Lartey <ian@opensource.wolfsonmicro.com>
    Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
    815efa1e
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
apm_power.c Loading commit data...
bq20z75.c Loading commit data...
bq27x00_battery.c Loading commit data...
collie_battery.c Loading commit data...
da9030_battery.c Loading commit data...
ds2760_battery.c Loading commit data...
ds2780_battery.c Loading commit data...
ds2782_battery.c Loading commit data...
gpio-charger.c Loading commit data...
intel_mid_battery.c Loading commit data...
isp1704_charger.c Loading commit data...
jz4740-battery.c Loading commit data...
max17040_battery.c Loading commit data...
max17042_battery.c Loading commit data...
max8903_charger.c Loading commit data...
max8925_power.c Loading commit data...
max8997_charger.c Loading commit data...
max8998_charger.c Loading commit data...
olpc_battery.c Loading commit data...
pcf50633-charger.c Loading commit data...
pda_power.c Loading commit data...
pmu_battery.c Loading commit data...
power_supply.h Loading commit data...
power_supply_core.c Loading commit data...
power_supply_leds.c Loading commit data...
power_supply_sysfs.c Loading commit data...
s3c_adc_battery.c Loading commit data...
test_power.c Loading commit data...
tosa_battery.c Loading commit data...
twl4030_charger.c Loading commit data...
wm831x_backup.c Loading commit data...
wm831x_power.c Loading commit data...
wm8350_power.c Loading commit data...
wm97xx_battery.c Loading commit data...
z2_battery.c Loading commit data...