treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / media / pci / sta2x11 / sta2x11_vip.h
bloba8cf140a050b3a8f81c50ae6e1e3c424e17da55a
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (c) 2011 Wind River Systems, Inc.
5 * Author: Anders Wallin <anders.wallin@windriver.com>
6 */
8 #ifndef __STA2X11_VIP_H
9 #define __STA2X11_VIP_H
11 /**
12 * struct vip_config - video input configuration data
13 * @pwr_name: ADV powerdown name
14 * @pwr_pin: ADV powerdown pin
15 * @reset_name: ADV reset name
16 * @reset_pin: ADV reset pin
18 struct vip_config {
19 const char *pwr_name;
20 int pwr_pin;
21 const char *reset_name;
22 int reset_pin;
23 int i2c_id;
24 int i2c_addr;
27 #endif /* __STA2X11_VIP_H */