regmap: Fix implicit inclusion of device.h
authorMark Brown <broonie@kernel.org>
Tue, 29 Mar 2016 19:28:33 +0000 (12:28 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 30 Mar 2016 15:46:11 +0000 (08:46 -0700)
internal.h is using dev_name() but doesn't include device.h which
defines it.  Add an explicit include to avoid build problems due to
this.

Tested-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/internal.h

index 5c79526..a038033 100644 (file)
@@ -13,6 +13,7 @@
 #ifndef _REGMAP_INTERNAL_H
 #define _REGMAP_INTERNAL_H
 
+#include <linux/device.h>
 #include <linux/regmap.h>
 #include <linux/fs.h>
 #include <linux/list.h>