| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* DVB USB compliant linux driver for Technotrend DVB USB boxes and clones |
|---|
| 2 | 3 | * (e.g. Pinnacle 400e DVB-S USB2.0). |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 16 | 17 | * Copyright (c) 2003 Felix Domke <tmbinc@elitedvb.net> |
|---|
| 17 | 18 | * Copyright (C) 2005-6 Patrick Boettcher <pb@linuxtv.org> |
|---|
| 18 | 19 | * |
|---|
| 19 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 20 | | - * under the terms of the GNU General Public License as published by the Free |
|---|
| 21 | | - * Software Foundation, version 2. |
|---|
| 22 | | - * |
|---|
| 23 | | - * see Documentation/media/dvb-drivers/dvb-usb.rst for more information |
|---|
| 20 | + * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information |
|---|
| 24 | 21 | */ |
|---|
| 25 | 22 | #define DVB_USB_LOG_PREFIX "ttusb2" |
|---|
| 26 | 23 | #include "dvb-usb.h" |
|---|
| .. | .. |
|---|
| 470 | 467 | |
|---|
| 471 | 468 | |
|---|
| 472 | 469 | /* Callbacks for DVB USB */ |
|---|
| 473 | | -static int ttusb2_identify_state (struct usb_device *udev, struct |
|---|
| 474 | | - dvb_usb_device_properties *props, struct dvb_usb_device_description **desc, |
|---|
| 475 | | - int *cold) |
|---|
| 470 | +static int ttusb2_identify_state(struct usb_device *udev, |
|---|
| 471 | + const struct dvb_usb_device_properties *props, |
|---|
| 472 | + const struct dvb_usb_device_description **desc, |
|---|
| 473 | + int *cold) |
|---|
| 476 | 474 | { |
|---|
| 477 | 475 | *cold = udev->descriptor.iManufacturer == 0 && udev->descriptor.iProduct == 0; |
|---|
| 478 | 476 | return 0; |
|---|