]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers: power_supply_sysfs.c needs stat.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 14:22:46 +0000 (10:22 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 25 Aug 2011 17:55:12 +0000 (13:55 -0400)
commiteccd6708858faecd8cad21747f0419bd1d3e2cb8
tree68ba50e1882c009a21f3507d73a85148aab3c799
parent087283402408811f15b10d6450b0213304bd631e
drivers: power_supply_sysfs.c needs stat.h

It was actually getting this before by a tangled mess of implict
includes that is going to be cleaned up.  Fix it now, so we don't
get this after the cleanup.

power_supply_sysfs.c: In function ‘power_supply_attr_is_visible’:
power_supply_sysfs.c:184: error: ‘S_IRUSR’ undeclared (first use in this function)
power_supply_sysfs.c:184: error: (Each undeclared identifier is reported only once
power_supply_sysfs.c:184: error: for each function it appears in.)
power_supply_sysfs.c:184: error: ‘S_IRGRP’ undeclared (first use in this function)
power_supply_sysfs.c:184: error: ‘S_IROTH’ undeclared (first use in this function)
power_supply_sysfs.c:196: error: ‘S_IWUSR’ undeclared (first use in this function)
make[3]: *** [drivers/power/power_supply_sysfs.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/power/power_supply_sysfs.c