Linux Kernel
3.7.1
|
#include <m5mols.h>
Data Fields | |
int | gpio_reset |
u8 | reset_polarity |
int(* | set_power )(struct device *dev, int on) |
struct m5mols_platform_data - platform data for M-5MOLS driver : GPIO driving the reset pin of M-5MOLS : active state for gpio_reset pin, 0 or 1 : an additional callback to the board setup code to be called after enabling and before disabling the sensor's supply regulators