All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regmap: Fix build by removing extra parameter from regmap_debugfs_init()
@ 2012-04-10 23:29 Fabio Estevam
  2012-04-11  8:14 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2012-04-10 23:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: broonie, gregkh, Fabio Estevam, Fabio Estevam

commit b4eb511 (Merge branches 'regmap-mmio', 'regmap-naming' and 'regmap-linus' into regmap-next)
added an extra paramter to the prototype of regmap_debugfs_init() in the case of !CONFIG_DEBUG_FS.

Remove this extra parameter so that the driver can build again when !CONFIG_DEBUG_FS.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
This applies against linux-next

 drivers/base/regmap/internal.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h
index 32c2947..e46c279 100644
--- a/drivers/base/regmap/internal.h
+++ b/drivers/base/regmap/internal.h
@@ -112,7 +112,7 @@ extern void regmap_debugfs_init(struct regmap *map);
 extern void regmap_debugfs_exit(struct regmap *map);
 #else
 static inline void regmap_debugfs_initcall(void) { }
-static inline void regmap_debugfs_init(struct regmap *map, const char *name) { }
+static inline void regmap_debugfs_init(struct regmap *map) { }
 static inline void regmap_debugfs_exit(struct regmap *map) { }
 #endif
 
-- 
1.7.1


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

* Re: [PATCH] regmap: Fix build by removing extra parameter from regmap_debugfs_init()
  2012-04-10 23:29 [PATCH] regmap: Fix build by removing extra parameter from regmap_debugfs_init() Fabio Estevam
@ 2012-04-11  8:14 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-04-11  8:14 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: linux-kernel, gregkh, Fabio Estevam

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

On Tue, Apr 10, 2012 at 08:29:06PM -0300, Fabio Estevam wrote:
> commit b4eb511 (Merge branches 'regmap-mmio', 'regmap-naming' and 'regmap-linus' into regmap-next)
> added an extra paramter to the prototype of regmap_debugfs_init() in the case of !CONFIG_DEBUG_FS.

No it doesn't.  Some commit on one of the branches that got merged adds
the parameter, and this was already fixed on that branch.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2012-04-11  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-10 23:29 [PATCH] regmap: Fix build by removing extra parameter from regmap_debugfs_init() Fabio Estevam
2012-04-11  8:14 ` 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.