public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] regmap: Fix implicit inclusion of device.h
@ 2016-03-29 19:41 Mark Brown
  2016-03-29 19:41 ` [PATCH 2/2] regmap: mmio: Parse endianness definitions from DT Mark Brown
  2016-03-30 10:35 ` [PATCH 1/2] regmap: Fix implicit inclusion of device.h Alexander Stein
  0 siblings, 2 replies; 7+ messages in thread
From: Mark Brown @ 2016-03-29 19:41 UTC (permalink / raw)
  To: Alexander Stein; +Cc: linux-kernel, Mark Brown

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-31 17:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-29 19:41 [PATCH 1/2] regmap: Fix implicit inclusion of device.h Mark Brown
2016-03-29 19:41 ` [PATCH 2/2] regmap: mmio: Parse endianness definitions from DT Mark Brown
2016-03-30 10:36   ` Alexander Stein
2016-03-31  6:09   ` Krzysztof Kozlowski
2016-03-31  6:23     ` Krzysztof Kozlowski
2016-03-31 17:19     ` Mark Brown
2016-03-30 10:35 ` [PATCH 1/2] regmap: Fix implicit inclusion of device.h Alexander Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox