Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
b3a974d0
Commit
b3a974d0
authored
16 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
git://git.denx.de/u-boot-usb
parents
0668236b
fea91ede
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/usb_kbd.c
+4
-0
4 additions, 0 deletions
common/usb_kbd.c
include/devices.h
+2
-0
2 additions, 0 deletions
include/devices.h
with
6 additions
and
0 deletions
common/usb_kbd.c
+
4
−
0
View file @
b3a974d0
...
@@ -211,7 +211,11 @@ int drv_usb_kbd_init(void)
...
@@ -211,7 +211,11 @@ int drv_usb_kbd_init(void)
/* deregistering the keyboard */
/* deregistering the keyboard */
int
usb_kbd_deregister
(
void
)
int
usb_kbd_deregister
(
void
)
{
{
#ifdef CONFIG_SYS_DEVICE_DEREGISTER
return
device_deregister
(
DEVNAME
);
return
device_deregister
(
DEVNAME
);
#else
return
1
;
#endif
}
}
/**************************************************************************
/**************************************************************************
...
...
This diff is collapsed.
Click to expand it.
include/devices.h
+
2
−
0
View file @
b3a974d0
...
@@ -91,7 +91,9 @@ extern char *stdio_names[MAX_FILES];
...
@@ -91,7 +91,9 @@ extern char *stdio_names[MAX_FILES];
*/
*/
int
device_register
(
device_t
*
dev
);
int
device_register
(
device_t
*
dev
);
int
devices_init
(
void
);
int
devices_init
(
void
);
#ifdef CONFIG_SYS_DEVICE_DEREGISTER
int
device_deregister
(
char
*
devname
);
int
device_deregister
(
char
*
devname
);
#endif
struct
list_head
*
device_get_list
(
void
);
struct
list_head
*
device_get_list
(
void
);
device_t
*
device_get_by_name
(
char
*
name
);
device_t
*
device_get_by_name
(
char
*
name
);
device_t
*
device_clone
(
device_t
*
dev
);
device_t
*
device_clone
(
device_t
*
dev
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment