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
b675668a
Commit
b675668a
authored
Jul 20, 2011
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] mt2063: Fix the driver to make it compile
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
0ff48432
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
9 deletions
+17
-9
drivers/media/common/tuners/mt2063.c
drivers/media/common/tuners/mt2063.c
+0
-1
drivers/media/common/tuners/mt2063.h
drivers/media/common/tuners/mt2063.h
+17
-8
No files found.
drivers/media/common/tuners/mt2063.c
View file @
b675668a
...
...
@@ -4,7 +4,6 @@
#include <linux/module.h>
#include <linux/string.h>
#include "drxk_type.h"
#include "mt2063.h"
/* Version of this module */
...
...
drivers/media/common/tuners/mt2063.h
View file @
b675668a
#ifndef __MT2063_H__
#define __MT2063_H__
#include <linux/dvb/frontend.h>
#include "dvb_frontend.h"
enum
Bool_t
{
FALSE
=
0
,
TRUE
};
typedef
unsigned
long
u32_t
;
#define DVBFE_TUNER_OPEN 99
#define DVBFE_TUNER_SOFTWARE_SHUTDOWN 100
#define DVBFE_TUNER_CLEAR_POWER_MASKBITS 101
#define MT2063_ERROR (1 << 31)
#define MT2063_USER_ERROR (1 << 30)
...
...
@@ -618,17 +628,16 @@ struct mt2063_state {
u32
reference
;
};
#if defined(CONFIG_DVB_MT2063) || (defined(CONFIG_DVB_MT2063_MODULE) && defined(MODULE))
extern
struct
dvb_frontend
*
mt2063_attach
(
struct
dvb_frontend
*
fe
,
struct
mt2063_config
*
config
,
struct
i2c_adapter
*
i2c
);
#if defined(CONFIG_MEDIA_TUNER_MT2063) || (defined(CONFIG_MEDIA_TUNER_MT2063_MODULE) && defined(MODULE))
struct
dvb_frontend
*
mt2063_attach
(
struct
dvb_frontend
*
fe
,
struct
mt2063_config
*
config
,
struct
i2c_adapter
*
i2c
);
#else
static
inline
struct
dvb_frontend
*
mt2063_attach
(
struct
dvb_frontend
*
fe
,
struct
mt2063_config
*
config
,
struct
i2c_adapter
*
i2c
)
struct
mt2063_config
*
config
,
struct
i2c_adapter
*
i2c
)
{
printk
(
KERN_WARNING
"%s: Driver disabled by Kconfig
\n
"
,
__func__
);
return
NULL
;
...
...
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