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
nexedi
linux
Commits
e54318e5
Commit
e54318e5
authored
Apr 18, 2008
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (7618): em28xx: make some symbols static
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
e9888a13
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-cards.c
+4
-5
drivers/media/video/em28xx/em28xx.h
drivers/media/video/em28xx/em28xx.h
+0
-1
No files found.
drivers/media/video/em28xx/em28xx-cards.c
View file @
e54318e5
...
...
@@ -435,14 +435,14 @@ MODULE_DEVICE_TABLE(usb, em28xx_id_table);
*/
/* Board Hauppauge WinTV HVR 900 analog */
struct
em28xx_reg_seq
hauppauge_wintv_hvr_900_analog
[]
=
{
st
atic
st
ruct
em28xx_reg_seq
hauppauge_wintv_hvr_900_analog
[]
=
{
{
EM28XX_R08_GPIO
,
0x2d
,
~
EM_GPIO_4
,
10
},
{
0x05
,
0xff
,
0x10
,
10
},
{
-
1
,
-
1
,
-
1
,
-
1
},
};
/* Board Hauppauge WinTV HVR 900 digital */
struct
em28xx_reg_seq
hauppauge_wintv_hvr_900_digital
[]
=
{
st
atic
st
ruct
em28xx_reg_seq
hauppauge_wintv_hvr_900_digital
[]
=
{
{
EM28XX_R08_GPIO
,
0x2e
,
~
EM_GPIO_4
,
10
},
{
EM2880_R04_GPO
,
0x04
,
0x0f
,
10
},
{
EM2880_R04_GPO
,
0x0c
,
0x0f
,
10
},
...
...
@@ -450,7 +450,7 @@ struct em28xx_reg_seq hauppauge_wintv_hvr_900_digital[] = {
};
/* Board Hauppauge WinTV HVR 900 tuner_callback */
struct
em28xx_reg_seq
hauppauge_wintv_hvr_900_tuner_callback
[]
=
{
st
atic
st
ruct
em28xx_reg_seq
hauppauge_wintv_hvr_900_tuner_callback
[]
=
{
{
EM28XX_R08_GPIO
,
EM_GPIO_4
,
EM_GPIO_4
,
10
},
{
EM28XX_R08_GPIO
,
0
,
EM_GPIO_4
,
10
},
{
EM28XX_R08_GPIO
,
EM_GPIO_4
,
EM_GPIO_4
,
10
},
...
...
@@ -554,7 +554,7 @@ void em28xx_pre_card_setup(struct em28xx *dev)
em28xx_set_mode
(
dev
,
EM28XX_MODE_UNDEFINED
);
}
void
em28xx_setup_xc3028
(
struct
em28xx
*
dev
,
struct
xc2028_ctrl
*
ctl
)
static
void
em28xx_setup_xc3028
(
struct
em28xx
*
dev
,
struct
xc2028_ctrl
*
ctl
)
{
memset
(
ctl
,
0
,
sizeof
(
*
ctl
));
...
...
@@ -571,7 +571,6 @@ void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl)
ctl
->
demod
=
XC3028_FE_OREN538
;
}
}
EXPORT_SYMBOL_GPL
(
em28xx_setup_xc3028
);
static
void
em28xx_config_tuner
(
struct
em28xx
*
dev
)
{
...
...
drivers/media/video/em28xx/em28xx.h
View file @
e54318e5
...
...
@@ -474,7 +474,6 @@ extern struct usb_device_id em28xx_id_table[];
extern
const
unsigned
int
em28xx_bcount
;
void
em28xx_set_ir
(
struct
em28xx
*
dev
,
struct
IR_i2c
*
ir
);
int
em28xx_tuner_callback
(
void
*
ptr
,
int
command
,
int
arg
);
void
em28xx_setup_xc3028
(
struct
em28xx
*
dev
,
struct
xc2028_ctrl
*
ctl
);
/* Provided by em28xx-input.c */
/* TODO: Check if the standard get_key handlers on ir-common can be used */
...
...
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