Skip to content

Commit 1cea03b

Browse files
author
Marek Czerski
committed
AML: enable support for more demod and tuner chips
1 parent b3afe59 commit 1cea03b

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

drivers/dvb/aml_dtvdemod.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ static const struct demod_module demod_modules[] = {
3939
.register_frontend = aml_dvb_register_frontend,
4040
.unregister_frontend = aml_dvb_unregister_frontend
4141
},
42-
#ifdef DEMOD_UNUSED
4342
{
4443
.name = "m1",
4544
.id = AM_DTV_DEMOD_M1,
@@ -64,7 +63,6 @@ static const struct demod_module demod_modules[] = {
6463
.register_frontend = aml_dvb_register_frontend,
6564
.unregister_frontend = aml_dvb_unregister_frontend
6665
},
67-
#endif //DEMOD_UNUSED
6866
{
6967
.name = "avl6211",
7068
.id = AM_DTV_DEMOD_AVL6211,
@@ -89,7 +87,6 @@ static const struct demod_module demod_modules[] = {
8987
.register_frontend = aml_dvb_register_frontend,
9088
.unregister_frontend = aml_dvb_unregister_frontend
9189
},
92-
#ifdef DEMOD_UNUSED
9390
{
9491
.name = "ite9173",
9592
.id = AM_DTV_DEMOD_ITE9173,
@@ -162,7 +159,6 @@ static const struct demod_module demod_modules[] = {
162159
.register_frontend = aml_dvb_register_frontend,
163160
.unregister_frontend = aml_dvb_unregister_frontend
164161
},
165-
#endif //DEMOD_UNUSED
166162
{
167163
.name = "atbm8881",
168164
.id = AM_DTV_DEMOD_ATBM8881,
@@ -247,7 +243,6 @@ static const struct demod_module demod_modules[] = {
247243
.register_frontend = aml_dvb_register_frontend,
248244
.unregister_frontend = aml_dvb_unregister_frontend
249245
},
250-
#ifdef DEMOD_UNUSED
251246
{
252247
.name = "mxl212c",
253248
.id = AM_DTV_DEMOD_MXL212C,
@@ -320,7 +315,6 @@ static const struct demod_module demod_modules[] = {
320315
.register_frontend = aml_dvb_register_frontend,
321316
.unregister_frontend = aml_dvb_unregister_frontend
322317
},
323-
#endif //DEMOD_UNUSED
324318
{
325319
.name = "mxl258c", //compatible with mxl212c/213c/214c/252c/254c/256c.
326320
.id = AM_DTV_DEMOD_MXL258C,

drivers/dvb/aml_tuner.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ static int aml_tuner_match(const struct tuner_module *module, int std);
1313
static int aml_tuner_detect(const struct tuner_config *cfg);
1414

1515
static const struct tuner_module tuner_modules[] = {
16-
#ifdef TUNER_UNUSED
1716
{
1817
.name = "si2176",
1918
.id = AM_TUNER_SI2176,
@@ -98,7 +97,6 @@ static const struct tuner_module tuner_modules[] = {
9897
.match = aml_tuner_match,
9998
.detect = aml_tuner_detect
10099
},
101-
#endif //TUNER_UNUSED
102100
{
103101
.name = "r840",
104102
.id = AM_TUNER_R840,
@@ -116,7 +114,6 @@ static const struct tuner_module tuner_modules[] = {
116114
.match = aml_tuner_match,
117115
.detect = aml_tuner_detect
118116
},
119-
#ifdef TUNER_UNUSED
120117
{
121118
.name = "si2157",
122119
.id = AM_TUNER_SI2157,
@@ -134,7 +131,6 @@ static const struct tuner_module tuner_modules[] = {
134131
.match = aml_tuner_match,
135132
.detect = aml_tuner_detect
136133
},
137-
#endif //TUNER_UNUSED
138134
{
139135
.name = "si2151",
140136
.id = AM_TUNER_SI2151,

0 commit comments

Comments
 (0)