include: linux: Fix MODS kernel build break
Krishna Monian [Thu, 6 Sep 2012 20:25:48 +0000 (16:25 -0400)]
- Include errno.h to fix MODS build break caused by use of ENOSYS

Reviewed-on: http://git-master/r/133048
(cherry picked from commit d4915618687d0042027b43c794a5581ae748e3d3)

Change-Id: I4ec4d92ad73e0eb33685bf1ae59f5860390a08e3
Signed-off-by: Krishna Monian <kmonian@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143068
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

include/linux/power_supply.h

index 0576c6d..a138d2c 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <linux/workqueue.h>
 #include <linux/leds.h>
+#include <linux/errno.h>
 
 struct device;