| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* DVB USB framework compliant Linux driver for the AVerMedia AverTV DVB-T |
|---|
| 2 | 3 | * USB2.0 (A800) DVB-T receiver. |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * - AVerMedia who kindly provided information and |
|---|
| 8 | 9 | * - Glen Harris who suffered from my mistakes during development. |
|---|
| 9 | 10 | * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 11 | | - * under the terms of the GNU General Public License as published by the Free |
|---|
| 12 | | - * Software Foundation, version 2. |
|---|
| 13 | | - * |
|---|
| 14 | | - * see Documentation/media/dvb-drivers/dvb-usb.rst for more information |
|---|
| 11 | + * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information |
|---|
| 15 | 12 | */ |
|---|
| 16 | 13 | #include "dibusb.h" |
|---|
| 17 | 14 | |
|---|
| .. | .. |
|---|
| 30 | 27 | } |
|---|
| 31 | 28 | |
|---|
| 32 | 29 | /* assure to put cold to 0 for iManufacturer == 1 */ |
|---|
| 33 | | -static int a800_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, |
|---|
| 34 | | - struct dvb_usb_device_description **desc, int *cold) |
|---|
| 30 | +static int a800_identify_state(struct usb_device *udev, |
|---|
| 31 | + const struct dvb_usb_device_properties *props, |
|---|
| 32 | + const struct dvb_usb_device_description **desc, |
|---|
| 33 | + int *cold) |
|---|
| 35 | 34 | { |
|---|
| 36 | 35 | *cold = udev->descriptor.iManufacturer != 1; |
|---|
| 37 | 36 | return 0; |
|---|