Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
57f7f426
Commit
57f7f426
authored
Jan 14, 2005
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: remove some unneeded exported symbols.
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
812ab7f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
6 deletions
+1
-6
drivers/usb/core/hcd.c
drivers/usb/core/hcd.c
+0
-3
drivers/usb/core/hub.c
drivers/usb/core/hub.c
+0
-1
drivers/usb/core/usb.c
drivers/usb/core/usb.c
+1
-2
No files found.
drivers/usb/core/hcd.c
View file @
57f7f426
...
...
@@ -86,7 +86,6 @@
/* host controllers we manage */
LIST_HEAD
(
usb_bus_list
);
EXPORT_SYMBOL_GPL
(
usb_bus_list
);
/* used when allocating bus numbers */
#define USB_MAXBUS 64
...
...
@@ -97,7 +96,6 @@ static struct usb_busmap busmap;
/* used when updating list of hcds */
DECLARE_MUTEX
(
usb_bus_list_lock
);
/* exported only for usbfs */
EXPORT_SYMBOL_GPL
(
usb_bus_list_lock
);
/* used when updating hcd data */
static
spinlock_t
hcd_data_lock
=
SPIN_LOCK_UNLOCKED
;
...
...
@@ -1542,7 +1540,6 @@ void usb_hc_died (struct usb_hcd *hcd)
usb_set_device_state
(
hcd
->
self
.
root_hub
,
USB_STATE_NOTATTACHED
);
mod_timer
(
&
hcd
->
rh_timer
,
jiffies
);
}
EXPORT_SYMBOL
(
usb_hc_died
);
/*-------------------------------------------------------------------------*/
...
...
drivers/usb/core/hub.c
View file @
57f7f426
...
...
@@ -1618,7 +1618,6 @@ int __usb_suspend_device (struct usb_device *udev, int port1, u32 state)
udev
->
dev
.
power
.
power_state
=
state
;
return
status
;
}
EXPORT_SYMBOL
(
__usb_suspend_device
);
/**
* usb_suspend_device - suspend a usb device
...
...
drivers/usb/core/usb.c
View file @
57f7f426
...
...
@@ -63,8 +63,7 @@ const char *usbcore_name = "usbcore";
int
nousb
;
/* Disable USB when built into kernel image */
/* Not honored on modular build */
DECLARE_RWSEM
(
usb_all_devices_rwsem
);
EXPORT_SYMBOL
(
usb_all_devices_rwsem
);
static
DECLARE_RWSEM
(
usb_all_devices_rwsem
);
static
int
generic_probe
(
struct
device
*
dev
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment