Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
m5mols_platform_data Struct Reference

#include <m5mols.h>

Data Fields

int gpio_reset
 
u8 reset_polarity
 
int(* set_power )(struct device *dev, int on)
 

Detailed Description

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

Definition at line 27 of file m5mols.h.

Field Documentation

int gpio_reset

Definition at line 28 of file m5mols.h.

u8 reset_polarity

Definition at line 29 of file m5mols.h.

int(* set_power)(struct device *dev, int on)

Definition at line 30 of file m5mols.h.


The documentation for this struct was generated from the following file: