]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (menf21bmc) Include linux/err.h
authorJohannes Thumshirn <johannes.thumshirn@men.de>
Thu, 16 Oct 2014 13:07:51 +0000 (15:07 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 20 Oct 2014 01:41:18 +0000 (18:41 -0700)
commit2001196e6243a4dc778724dd472a9c8865c8942f
treee58dbe8e4e92fbb7b68fa6bc8ac3d385a2aae079
parentcf707b7b48540e4559958bc7587fb506b5c80cc1
hwmon: (menf21bmc) Include linux/err.h

Include linux/err.h to get the definitions for IS_ERR() PTR_ERR() and
ERR_PTR() used in the driver.

This fixes compilation on powerpc targets.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@men.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/menf21bmc_hwmon.c