Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1366592 > unrolled thread
| Started by | Mark Brown <broonie@kernel.org> |
|---|---|
| First post | 2016-03-29 21:50 +0200 |
| Last post | 2016-03-30 12:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 1/2] regmap: Fix implicit inclusion of device.h Mark Brown <broonie@kernel.org> - 2016-03-29 21:50 +0200
Re: [PATCH 1/2] regmap: Fix implicit inclusion of device.h Alexander Stein <alexander.stein@systec-electronic.com> - 2016-03-30 12:40 +0200
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2016-03-29 21:50 +0200 |
| Subject | [PATCH 1/2] regmap: Fix implicit inclusion of device.h |
| Message-ID | <ri7Oi-2sv-9@gated-at.bofh.it> |
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. Signed-off-by: Mark Brown <broonie@kernel.org> --- drivers/base/regmap/internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h index 5c79526245c2..a0380338946a 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> -- 2.8.0.rc3
[toc] | [next] | [standalone]
| From | Alexander Stein <alexander.stein@systec-electronic.com> |
|---|---|
| Date | 2016-03-30 12:40 +0200 |
| Message-ID | <rilHA-3WZ-29@gated-at.bofh.it> |
| In reply to | #1366592 |
On Tuesday 29 March 2016 12:41:54, Mark Brown wrote: > 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. > > Signed-off-by: Mark Brown <broonie@kernel.org> > --- > drivers/base/regmap/internal.h | 1 + > 1 file changed, 1 insertion(+) Tested-by: Alexander Stein <alexander.stein@systec-electronic.com> Best regards, Alexander
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web