treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / media / pci / ddbridge / ddbridge-hw.h
blobe34bd94c266b913d15b4635ea799927e3c32bb7b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * ddbridge-hw.h: Digital Devices bridge hardware maps
5 * Copyright (C) 2010-2017 Digital Devices GmbH
6 * Ralph Metzler <rjkm@metzlerbros.de>
7 * Marcus Metzler <mocm@metzlerbros.de>
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * version 2 only, as published by the Free Software Foundation.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
19 #ifndef _DDBRIDGE_HW_H_
20 #define _DDBRIDGE_HW_H_
22 #include "ddbridge.h"
24 /******************************************************************************/
26 #define DDVID 0xdd01 /* Digital Devices Vendor ID */
28 /******************************************************************************/
30 struct ddb_device_id {
31 u16 vendor;
32 u16 device;
33 u16 subvendor;
34 u16 subdevice;
35 const struct ddb_info *info;
38 /******************************************************************************/
40 const struct ddb_info *get_ddb_info(u16 vendor, u16 device,
41 u16 subvendor, u16 subdevice);
43 #endif /* _DDBRIDGE_HW_H */