netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gigaset: fix build failure
@ 2010-03-17 17:37 Tilman Schmidt
  2010-03-17 21:22 ` David Miller
  2010-03-17 21:35 ` Randy Dunlap
  0 siblings, 2 replies; 3+ messages in thread
From: Tilman Schmidt @ 2010-03-17 17:37 UTC (permalink / raw)
  To: Karsten Keil, David Miller
  Cc: Randy Dunlap, Stephen Rothwell, linux-next, Hansjoerg Lipp,
	isdn4linux, i4ldeveloper, netdev, linux-kernel, stable

Update the dummy LL interface to the LL interface change
introduced by commit daab433c03c15fd642c71c94eb51bdd3f32602c8.
This fixes the build failure occurring after that commit when
enabling ISDN_DRV_GIGASET but neither ISDN_I4L nor ISDN_CAPI.

Impact: bugfix
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
---
 drivers/isdn/gigaset/dummyll.c |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/drivers/isdn/gigaset/dummyll.c b/drivers/isdn/gigaset/dummyll.c
index 5b27c99..bd0b1ea 100644
--- a/drivers/isdn/gigaset/dummyll.c
+++ b/drivers/isdn/gigaset/dummyll.c
@@ -57,12 +57,20 @@ void gigaset_isdn_stop(struct cardstate *cs)
 {
 }
 
-int gigaset_isdn_register(struct cardstate *cs, const char *isdnid)
+int gigaset_isdn_regdev(struct cardstate *cs, const char *isdnid)
 {
-	pr_info("no ISDN subsystem interface\n");
 	return 1;
 }
 
-void gigaset_isdn_unregister(struct cardstate *cs)
+void gigaset_isdn_unregdev(struct cardstate *cs)
+{
+}
+
+void gigaset_isdn_regdrv(void)
+{
+	pr_info("no ISDN subsystem interface\n");
+}
+
+void gigaset_isdn_unregdrv(void)
 {
 }
-- 
1.6.5.3.298.g39add

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

* Re: [PATCH] gigaset: fix build failure
  2010-03-17 17:37 [PATCH] gigaset: fix build failure Tilman Schmidt
@ 2010-03-17 21:22 ` David Miller
  2010-03-17 21:35 ` Randy Dunlap
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2010-03-17 21:22 UTC (permalink / raw)
  To: tilman
  Cc: isdn, randy.dunlap, sfr, linux-next, hjlipp, isdn4linux,
	i4ldeveloper, netdev, linux-kernel, stable

From: Tilman Schmidt <tilman@imap.cc>
Date: Wed, 17 Mar 2010 18:37:05 +0100

> Update the dummy LL interface to the LL interface change
> introduced by commit daab433c03c15fd642c71c94eb51bdd3f32602c8.
> This fixes the build failure occurring after that commit when
> enabling ISDN_DRV_GIGASET but neither ISDN_I4L nor ISDN_CAPI.
> 
> Impact: bugfix
> Signed-off-by: Tilman Schmidt <tilman@imap.cc>

Applied, thanks.

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

* Re: [PATCH] gigaset: fix build failure
  2010-03-17 17:37 [PATCH] gigaset: fix build failure Tilman Schmidt
  2010-03-17 21:22 ` David Miller
@ 2010-03-17 21:35 ` Randy Dunlap
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2010-03-17 21:35 UTC (permalink / raw)
  To: Tilman Schmidt
  Cc: Karsten Keil, David Miller, Stephen Rothwell, linux-next,
	Hansjoerg Lipp, isdn4linux, i4ldeveloper, netdev, linux-kernel,
	stable

On 03/17/10 10:37, Tilman Schmidt wrote:
> Update the dummy LL interface to the LL interface change
> introduced by commit daab433c03c15fd642c71c94eb51bdd3f32602c8.
> This fixes the build failure occurring after that commit when
> enabling ISDN_DRV_GIGASET but neither ISDN_I4L nor ISDN_CAPI.
> 
> Impact: bugfix
> Signed-off-by: Tilman Schmidt <tilman@imap.cc>

Acked-by: Randy Dunlap <randy.dunlap@oracle.com>

Thanks.

> ---
>  drivers/isdn/gigaset/dummyll.c |   14 +++++++++++---
>  1 files changed, 11 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/isdn/gigaset/dummyll.c b/drivers/isdn/gigaset/dummyll.c
> index 5b27c99..bd0b1ea 100644
> --- a/drivers/isdn/gigaset/dummyll.c
> +++ b/drivers/isdn/gigaset/dummyll.c
> @@ -57,12 +57,20 @@ void gigaset_isdn_stop(struct cardstate *cs)
>  {
>  }
>  
> -int gigaset_isdn_register(struct cardstate *cs, const char *isdnid)
> +int gigaset_isdn_regdev(struct cardstate *cs, const char *isdnid)
>  {
> -	pr_info("no ISDN subsystem interface\n");
>  	return 1;
>  }
>  
> -void gigaset_isdn_unregister(struct cardstate *cs)
> +void gigaset_isdn_unregdev(struct cardstate *cs)
> +{
> +}
> +
> +void gigaset_isdn_regdrv(void)
> +{
> +	pr_info("no ISDN subsystem interface\n");
> +}
> +
> +void gigaset_isdn_unregdrv(void)
>  {
>  }


-- 
~Randy

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

end of thread, other threads:[~2010-03-17 21:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 17:37 [PATCH] gigaset: fix build failure Tilman Schmidt
2010-03-17 21:22 ` David Miller
2010-03-17 21:35 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).