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

#include <gp2ap002a00f.h>

Data Fields

int vout_gpio
 
bool wakeup
 
int(* hw_setup )(struct i2c_client *client)
 
int(* hw_shutdown )(struct i2c_client *client)
 

Detailed Description

struct gp2a_platform_data - Sharp gp2ap002a00f proximity platform data : The gpio connected to the object detected pin (VOUT) : Set to true if the proximity can wake the device from suspend : Callback for setting up hardware such as gpios and vregs : Callback for properly shutting down hardware

Definition at line 15 of file gp2ap002a00f.h.

Field Documentation

int(* hw_setup)(struct i2c_client *client)

Definition at line 18 of file gp2ap002a00f.h.

int(* hw_shutdown)(struct i2c_client *client)

Definition at line 19 of file gp2ap002a00f.h.

int vout_gpio

Definition at line 16 of file gp2ap002a00f.h.

bool wakeup

Definition at line 17 of file gp2ap002a00f.h.


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