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
c63e87e9
Commit
c63e87e9
authored
May 24, 2008
by
David Woodhouse
Committed by
David Woodhouse
Jul 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tuners: treat firmware data as const
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
3a9282ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/media/common/tuners/tuner-xc2028.c
drivers/media/common/tuners/tuner-xc2028.c
+1
-1
drivers/media/common/tuners/xc5000.c
drivers/media/common/tuners/xc5000.c
+1
-1
No files found.
drivers/media/common/tuners/tuner-xc2028.c
View file @
c63e87e9
...
@@ -254,7 +254,7 @@ static int load_all_firmwares(struct dvb_frontend *fe)
...
@@ -254,7 +254,7 @@ static int load_all_firmwares(struct dvb_frontend *fe)
{
{
struct
xc2028_data
*
priv
=
fe
->
tuner_priv
;
struct
xc2028_data
*
priv
=
fe
->
tuner_priv
;
const
struct
firmware
*
fw
=
NULL
;
const
struct
firmware
*
fw
=
NULL
;
unsigned
char
*
p
,
*
endp
;
const
unsigned
char
*
p
,
*
endp
;
int
rc
=
0
;
int
rc
=
0
;
int
n
,
n_array
;
int
n
,
n_array
;
char
name
[
33
];
char
name
[
33
];
...
...
drivers/media/common/tuners/xc5000.c
View file @
c63e87e9
...
@@ -278,7 +278,7 @@ static int xc_read_reg(struct xc5000_priv *priv, u16 regAddr, u16 *i2cData)
...
@@ -278,7 +278,7 @@ static int xc_read_reg(struct xc5000_priv *priv, u16 regAddr, u16 *i2cData)
return
result
;
return
result
;
}
}
static
int
xc_load_i2c_sequence
(
struct
dvb_frontend
*
fe
,
u8
i2c_sequence
[]
)
static
int
xc_load_i2c_sequence
(
struct
dvb_frontend
*
fe
,
const
u8
*
i2c_sequence
)
{
{
struct
xc5000_priv
*
priv
=
fe
->
tuner_priv
;
struct
xc5000_priv
*
priv
=
fe
->
tuner_priv
;
...
...
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