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
afd636e9
Commit
afd636e9
authored
May 24, 2008
by
David Woodhouse
Committed by
David Woodhouse
Jul 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
irda-usb: treat firmware data as const
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
2f26e8af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
drivers/net/irda/irda-usb.c
drivers/net/irda/irda-usb.c
+6
-6
No files found.
drivers/net/irda/irda-usb.c
View file @
afd636e9
...
...
@@ -1024,7 +1024,7 @@ static int irda_usb_is_receiving(struct irda_usb_cb *self)
* Upload firmware code to SigmaTel 421X IRDA-USB dongle
*/
static
int
stir421x_fw_upload
(
struct
irda_usb_cb
*
self
,
unsigned
char
*
patch
,
const
unsigned
char
*
patch
,
const
unsigned
int
patch_len
)
{
int
ret
=
-
ENOMEM
;
...
...
@@ -1073,11 +1073,11 @@ static int stir421x_fw_upload(struct irda_usb_cb *self,
*/
static
int
stir421x_patch_device
(
struct
irda_usb_cb
*
self
)
{
unsigned
int
i
;
int
ret
;
char
stir421x_fw_name
[
11
];
const
struct
firmware
*
fw
;
unsigned
char
*
fw_version_ptr
;
/* pointer to version string */
unsigned
int
i
;
int
ret
;
char
stir421x_fw_name
[
11
];
const
struct
firmware
*
fw
;
const
unsigned
char
*
fw_version_ptr
;
/* pointer to version string */
unsigned
long
fw_version
=
0
;
/*
...
...
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