Fix potential compile problem for menf21bmc hwmon driver

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJUSEYlAAoJEMsfJm/On5mBXiUP/Ay3CN6CkwUx/pINZbGyfiMn
 zyMWhj/QwUqWwG0bnuIErjLjqliksg9e+MGY6+o5a6LHlsXfF6M8zisZ07VlpbRs
 I5HUoLy7NYEG05IjphodbPQzpNL9xsB2vXdf2TZPX2qhOuCaGmBeg4AMl+5usD8G
 ybzk+jaVWXU4+bNcRnGRy2h9RBQW64fEym/M1PjexlEUPVTalkFWTppcs8GNRlgX
 ZEl4hWc7LZpB/P+AAgg8dXp4iKgCIz9cOdWL06beLq6w7yId958gojVsGfnYKvBo
 F6S9Onlj3AcDJmOmtJ+nUHMGpHmEMxJVBVzu1azlzXvT4eBaiuciTgmlk7urVAYS
 4Lc2eiU3LAVC9Zjku6S0PSrqRKOsLbsCwMGfO3c/ine9fyqYXhUu7MMfKuEHy6qL
 R7N5WXf2A6yfP5IgwnYBl1P/hRzH7lf/lpjSh3cBIZ+Tm4lLxQ5gOyX+s8oEhIUi
 bTN62PVoNKUkWAm1PZR5LPBE1ph8w8D0eaQwuvuMk3w5ftyfJZV0TltNrI5YR5zv
 w2p84Bj4sm2tBgO3Bw6LOr7p04HIa+sYlkOxkIXFLfUwp8FWoiwvrNeEbXzWEBxz
 XiSsKUyY5+Az3PiEYN1wqGhyrWcD+I332ihScC8tGYHjgdbQ+DIqgOHR+VwQb2FA
 j+JV7ScDyAIiez7fEqm/
 =jWgM
 -----END PGP SIGNATURE-----

Merge tag 'hwmon-for-linus-v3.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull a hwmon fix from Guenter Roeck:
 "Fix potential compile problem for menf21bmc hwmon driver"

* tag 'hwmon-for-linus-v3.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
  hwmon: (menf21bmc) Include linux/err.h
This commit is contained in:
Linus Torvalds 2014-10-23 13:56:24 -07:00
commit 5de551e0ee

View File

@ -21,6 +21,7 @@
#include <linux/jiffies.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/err.h>
#define DRV_NAME "menf21bmc_hwmon"