diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-20 17:56:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 16:48:34 -0500 |
commit | 3d48586cfa2e197515605ccf74527983d35638e3 (patch) | |
tree | d2988275f8acd36738409f5765c15fd2d72a716f /drivers/usb/atm | |
parent | 4bf0ba861442d289eebfad8ea9ce365ab04fd582 (diff) |
[PATCH] USB: small cleanups
This patch contains the following cleanups:
- make needlessly global functions static
- every file should #include the headers containing the prototypes for
it's global functions
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm')
-rw-r--r-- | drivers/usb/atm/usbatm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c index 2e6593e6c1bd..9baa6296fc95 100644 --- a/drivers/usb/atm/usbatm.c +++ b/drivers/usb/atm/usbatm.c | |||
@@ -646,14 +646,14 @@ static void usbatm_destroy_instance(struct kref *kref) | |||
646 | kfree(instance); | 646 | kfree(instance); |
647 | } | 647 | } |
648 | 648 | ||
649 | void usbatm_get_instance(struct usbatm_data *instance) | 649 | static void usbatm_get_instance(struct usbatm_data *instance) |
650 | { | 650 | { |
651 | dbg("%s", __func__); | 651 | dbg("%s", __func__); |
652 | 652 | ||
653 | kref_get(&instance->refcount); | 653 | kref_get(&instance->refcount); |
654 | } | 654 | } |
655 | 655 | ||
656 | void usbatm_put_instance(struct usbatm_data *instance) | 656 | static void usbatm_put_instance(struct usbatm_data *instance) |
657 | { | 657 | { |
658 | dbg("%s", __func__); | 658 | dbg("%s", __func__); |
659 | 659 | ||