All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regmap: include <linux/delay.h> from include/linux/regmap.h
@ 2016-10-13 10:07 Masahiro Yamada
  2016-10-28 17:03 ` Applied "regmap: include <linux/delay.h> from include/linux/regmap.h" to the regmap tree Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2016-10-13 10:07 UTC (permalink / raw)
  To: Mark Brown, linux-kernel; +Cc: Philipp Zabel, Masahiro Yamada

The readx_poll_timeout() macro calls usleep_range(), which is
declared in <linux/delay.h>.

Make include/linux/regmap.h include <linux/delay.h>, like
include/linux/iopoll.h does.  Otherwise, users of the macro
will see "implicit declaration of function 'usleep_range'" error.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 include/linux/regmap.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 9adc7b2..e5157e3 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -15,6 +15,7 @@
 
 #include <linux/list.h>
 #include <linux/rbtree.h>
+#include <linux/delay.h>
 #include <linux/err.h>
 #include <linux/bug.h>
 #include <linux/lockdep.h>
-- 
1.9.1

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

* Applied "regmap: include <linux/delay.h> from include/linux/regmap.h" to the regmap tree
  2016-10-13 10:07 [PATCH] regmap: include <linux/delay.h> from include/linux/regmap.h Masahiro Yamada
@ 2016-10-28 17:03 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2016-10-28 17:03 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Mark Brown, Mark Brown, linux-kernel, Philipp Zabel, linux-kernel

The patch

   regmap: include <linux/delay.h> from include/linux/regmap.h

has been applied to the regmap tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From adf08d481b52824c87af028fc74dc692d179f7f4 Mon Sep 17 00:00:00 2001
From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Thu, 13 Oct 2016 19:07:54 +0900
Subject: [PATCH] regmap: include <linux/delay.h> from include/linux/regmap.h

The readx_poll_timeout() macro calls usleep_range(), which is
declared in <linux/delay.h>.

Make include/linux/regmap.h include <linux/delay.h>, like
include/linux/iopoll.h does.  Otherwise, users of the macro
will see "implicit declaration of function 'usleep_range'" error.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 include/linux/regmap.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 9adc7b21903d..e5157e39ff22 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -15,6 +15,7 @@
 
 #include <linux/list.h>
 #include <linux/rbtree.h>
+#include <linux/delay.h>
 #include <linux/err.h>
 #include <linux/bug.h>
 #include <linux/lockdep.h>
-- 
2.10.1

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

end of thread, other threads:[~2016-10-28 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-13 10:07 [PATCH] regmap: include <linux/delay.h> from include/linux/regmap.h Masahiro Yamada
2016-10-28 17:03 ` Applied "regmap: include <linux/delay.h> from include/linux/regmap.h" to the regmap tree Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.