diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-04-22 20:08:44 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-04-22 20:08:44 -0400 |
commit | 6c9468e9eb1252eaefd94ce7f06e1be9b0b641b1 (patch) | |
tree | 797676a336b050bfa1ef879377c07e541b9075d6 /drivers/isdn/gigaset/i4l.c | |
parent | 4cb3ca7cd7e2cae8d1daf5345ec99a1e8502cf3f (diff) | |
parent | c81eddb0e3728661d1585fbc564449c94165cc36 (diff) |
Merge branch 'master' into for-next
Diffstat (limited to 'drivers/isdn/gigaset/i4l.c')
-rw-r--r-- | drivers/isdn/gigaset/i4l.c | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/drivers/isdn/gigaset/i4l.c b/drivers/isdn/gigaset/i4l.c index f0acb9dc9e33..c22e5ace8276 100644 --- a/drivers/isdn/gigaset/i4l.c +++ b/drivers/isdn/gigaset/i4l.c | |||
@@ -592,15 +592,13 @@ void gigaset_isdn_stop(struct cardstate *cs) | |||
592 | } | 592 | } |
593 | 593 | ||
594 | /** | 594 | /** |
595 | * gigaset_isdn_register() - register to LL | 595 | * gigaset_isdn_regdev() - register to LL |
596 | * @cs: device descriptor structure. | 596 | * @cs: device descriptor structure. |
597 | * @isdnid: device name. | 597 | * @isdnid: device name. |
598 | * | 598 | * |
599 | * Called by main module to register the device with the LL. | ||
600 | * | ||
601 | * Return value: 1 for success, 0 for failure | 599 | * Return value: 1 for success, 0 for failure |
602 | */ | 600 | */ |
603 | int gigaset_isdn_register(struct cardstate *cs, const char *isdnid) | 601 | int gigaset_isdn_regdev(struct cardstate *cs, const char *isdnid) |
604 | { | 602 | { |
605 | isdn_if *iif; | 603 | isdn_if *iif; |
606 | 604 | ||
@@ -650,15 +648,29 @@ int gigaset_isdn_register(struct cardstate *cs, const char *isdnid) | |||
650 | } | 648 | } |
651 | 649 | ||
652 | /** | 650 | /** |
653 | * gigaset_isdn_unregister() - unregister from LL | 651 | * gigaset_isdn_unregdev() - unregister device from LL |
654 | * @cs: device descriptor structure. | 652 | * @cs: device descriptor structure. |
655 | * | ||
656 | * Called by main module to unregister the device from the LL. | ||
657 | */ | 653 | */ |
658 | void gigaset_isdn_unregister(struct cardstate *cs) | 654 | void gigaset_isdn_unregdev(struct cardstate *cs) |
659 | { | 655 | { |
660 | gig_dbg(DEBUG_CMD, "sending UNLOAD"); | 656 | gig_dbg(DEBUG_CMD, "sending UNLOAD"); |
661 | gigaset_i4l_cmd(cs, ISDN_STAT_UNLOAD); | 657 | gigaset_i4l_cmd(cs, ISDN_STAT_UNLOAD); |
662 | kfree(cs->iif); | 658 | kfree(cs->iif); |
663 | cs->iif = NULL; | 659 | cs->iif = NULL; |
664 | } | 660 | } |
661 | |||
662 | /** | ||
663 | * gigaset_isdn_regdrv() - register driver to LL | ||
664 | */ | ||
665 | void gigaset_isdn_regdrv(void) | ||
666 | { | ||
667 | /* nothing to do */ | ||
668 | } | ||
669 | |||
670 | /** | ||
671 | * gigaset_isdn_unregdrv() - unregister driver from LL | ||
672 | */ | ||
673 | void gigaset_isdn_unregdrv(void) | ||
674 | { | ||
675 | /* nothing to do */ | ||
676 | } | ||