cregit-Linux how code gets into the kernel

Release 4.12 include/linux/i2c/max732x.h

#ifndef __LINUX_I2C_MAX732X_H

#define __LINUX_I2C_MAX732X_H

/* platform data for the MAX732x 8/16-bit I/O expander driver */


struct max732x_platform_data {
	/* number of the first GPIO */
	
unsigned	gpio_base;

	/* interrupt base */
	
int		irq_base;

	
void		*context;	/* param to setup/teardown */

	
int		(*setup)(struct i2c_client *client,
				unsigned gpio, unsigned ngpio,
				void *context);
	
int		(*teardown)(struct i2c_client *client,
				unsigned gpio, unsigned ngpio,
				void *context);
};
#endif /* __LINUX_I2C_MAX732X_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Eric Miao6894.44%150.00%
Marc Zyngier45.56%150.00%
Total72100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.