nl80211: Fix HT_IBSS feature check in ibss_join
[linux-2.6.git] / include / linux / platform_data / max197.h
blobe2a41dd7690cceaaf320c7bad68184e60f0c7911
1 /*
2 * Maxim MAX197 A/D Converter Driver
4 * Copyright (c) 2012 Savoir-faire Linux Inc.
5 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * For further information, see the Documentation/hwmon/max197 file.
14 /**
15 * struct max197_platform_data - MAX197 connectivity info
16 * @convert: Function used to start a conversion with control byte ctrl.
17 * It must return the raw data, or a negative error code.
19 struct max197_platform_data {
20 int (*convert)(u8 ctrl);