summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/oti6858.h
blob: 704ac3a532b3c60b3d69e04b27780c45df412869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Ours Technology Inc. OTi-6858 USB to serial adapter driver.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */
#ifndef __LINUX_USB_SERIAL_OTI6858_H
#define __LINUX_USB_SERIAL_OTI6858_H

#define OTI6858_VENDOR_ID	0x0ea0
#define OTI6858_PRODUCT_ID	0x6858

#endif
9926313beeaa8ac2adb22'>8a1e377e55f2dca5c689926313beeaa8ac2adb22 (diff)
HID: intel-ish-hid: initialize ts_format.reserved
ts_format.reserved is not used anywhere yet, but the compiler generates a warning when the struct's (uninitialized) field is being copied around drivers/hid/intel-ish-hid/ipc/ipc.c: In function ‘write_ipc_from_queue’: drivers/hid/intel-ish-hid/ipc/ipc.c:316: warning: ‘ts_format.reserved’ may be used uninitialized in this function Avoid this by force-initializing the field to zero. Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include')