ascot2e.c (16217dc79dbc599b110dda26d0421df47904bba4) | ascot2e.c (14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa) |
---|---|
1/* 2 * ascot2e.c 3 * 4 * Sony Ascot3E DVB-T/T2/C/C2 tuner driver 5 * 6 * Copyright 2012 Sony Corporation 7 * Copyright (C) 2014 NetUP Inc. 8 * Copyright (C) 2014 Sergey Kozlov <serjk@netup.ru> --- 450 unchanged lines hidden (view full) --- 459static int ascot2e_get_frequency(struct dvb_frontend *fe, u32 *frequency) 460{ 461 struct ascot2e_priv *priv = fe->tuner_priv; 462 463 *frequency = priv->frequency * 1000; 464 return 0; 465} 466 | 1/* 2 * ascot2e.c 3 * 4 * Sony Ascot3E DVB-T/T2/C/C2 tuner driver 5 * 6 * Copyright 2012 Sony Corporation 7 * Copyright (C) 2014 NetUP Inc. 8 * Copyright (C) 2014 Sergey Kozlov <serjk@netup.ru> --- 450 unchanged lines hidden (view full) --- 459static int ascot2e_get_frequency(struct dvb_frontend *fe, u32 *frequency) 460{ 461 struct ascot2e_priv *priv = fe->tuner_priv; 462 463 *frequency = priv->frequency * 1000; 464 return 0; 465} 466 |
467static struct dvb_tuner_ops ascot2e_tuner_ops = { | 467static const struct dvb_tuner_ops ascot2e_tuner_ops = { |
468 .info = { 469 .name = "Sony ASCOT2E", 470 .frequency_min = 1000000, 471 .frequency_max = 1200000000, 472 .frequency_step = 25000, 473 }, 474 .init = ascot2e_init, 475 .release = ascot2e_release, --- 73 unchanged lines hidden --- | 468 .info = { 469 .name = "Sony ASCOT2E", 470 .frequency_min = 1000000, 471 .frequency_max = 1200000000, 472 .frequency_step = 25000, 473 }, 474 .init = ascot2e_init, 475 .release = ascot2e_release, --- 73 unchanged lines hidden --- |