diff options
author | Mark Brown <broonie@kernel.org> | 2016-03-29 19:28:33 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-03-30 15:46:11 (GMT) |
commit | 4f7d6dd4df8b388e2056c89b528254cdd79dea2a (patch) | |
tree | b4f42ba43bf996482f523944cd55728aa15ab442 /drivers/base/regmap | |
parent | 9f9f8b863ad130ec0c25f378bdbad64ba71291de (diff) | |
download | linux-4f7d6dd4df8b388e2056c89b528254cdd79dea2a.tar.xz |
regmap: Fix implicit inclusion of device.h
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>
Diffstat (limited to 'drivers/base/regmap')
-rw-r--r-- | drivers/base/regmap/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h index 5c79526..a038033 100644 --- a/drivers/base/regmap/internal.h +++ b/drivers/base/regmap/internal.h @@ -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> |