projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f9f8b8
)
regmap: Fix implicit inclusion of device.h
author
Mark Brown
<broonie@kernel.org>
Tue, 29 Mar 2016 19:28:33 +0000
(12:28 -0700)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/drivers/base/regmap/internal.h
b/drivers/base/regmap/internal.h
index
5c79526
..
a038033
100644
(file)
--- 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>