| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2010-2014 Michael Krufky (mkrufky@linuxtv.org) |
|---|
| 3 | 4 | * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 5 | | - * under the terms of the GNU General Public License as published by the Free |
|---|
| 6 | | - * Software Foundation, version 2. |
|---|
| 7 | | - * |
|---|
| 8 | | - * see Documentation/media/dvb-drivers/dvb-usb.rst for more information |
|---|
| 5 | + * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | #ifndef _DVB_USB_MXL111SF_H_ |
|---|
| .. | .. |
|---|
| 52 | 49 | int (*fe_sleep)(struct dvb_frontend *); |
|---|
| 53 | 50 | }; |
|---|
| 54 | 51 | |
|---|
| 52 | +enum mxl111sf_pads { |
|---|
| 53 | + MXL111SF_PAD_RF_INPUT, |
|---|
| 54 | + MXL111SF_PAD_OUTPUT, |
|---|
| 55 | + MXL111SF_NUM_PADS |
|---|
| 56 | +}; |
|---|
| 57 | + |
|---|
| 55 | 58 | struct mxl111sf_state { |
|---|
| 56 | 59 | struct dvb_usb_device *d; |
|---|
| 57 | 60 | |
|---|
| .. | .. |
|---|
| 94 | 97 | struct mutex msg_lock; |
|---|
| 95 | 98 | #ifdef CONFIG_MEDIA_CONTROLLER_DVB |
|---|
| 96 | 99 | struct media_entity tuner; |
|---|
| 97 | | - struct media_pad tuner_pads[2]; |
|---|
| 100 | + struct media_pad tuner_pads[MXL111SF_NUM_PADS]; |
|---|
| 98 | 101 | #endif |
|---|
| 99 | 102 | }; |
|---|
| 100 | 103 | |
|---|