Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
c0a93f8b
Commit
c0a93f8b
authored
Oct 11, 2005
by
Ladislav Michl
Committed by
Tony Lindgren
Oct 11, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ARM: OMAP: OMAP1510 USB compile fix
OMAP1510 USB compile fix
parent
d7390430
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
arch/arm/plat-omap/usb.c
arch/arm/plat-omap/usb.c
+4
-0
No files found.
arch/arm/plat-omap/usb.c
View file @
c0a93f8b
...
@@ -538,6 +538,8 @@ static void __init omap_1510_usb_init(struct omap_usb_config *config)
...
@@ -538,6 +538,8 @@ static void __init omap_1510_usb_init(struct omap_usb_config *config)
#ifdef CONFIG_USB_GADGET_OMAP
#ifdef CONFIG_USB_GADGET_OMAP
if
(
config
->
register_dev
)
{
if
(
config
->
register_dev
)
{
int
status
;
udc_device
.
dev
.
platform_data
=
config
;
udc_device
.
dev
.
platform_data
=
config
;
status
=
platform_device_register
(
&
udc_device
);
status
=
platform_device_register
(
&
udc_device
);
if
(
status
)
if
(
status
)
...
@@ -548,6 +550,8 @@ static void __init omap_1510_usb_init(struct omap_usb_config *config)
...
@@ -548,6 +550,8 @@ static void __init omap_1510_usb_init(struct omap_usb_config *config)
#if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
#if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
if
(
config
->
register_host
)
{
if
(
config
->
register_host
)
{
int
status
;
ohci_device
.
dev
.
platform_data
=
config
;
ohci_device
.
dev
.
platform_data
=
config
;
status
=
platform_device_register
(
&
ohci_device
);
status
=
platform_device_register
(
&
ohci_device
);
if
(
status
)
if
(
status
)
...
...
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