#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/mfd/max8925.h>
#include <linux/slab.h>
Go to the source code of this file.
|
int | max8925_reg_read (struct i2c_client *i2c, int reg) |
|
| EXPORT_SYMBOL (max8925_reg_read) |
|
int | max8925_reg_write (struct i2c_client *i2c, int reg, unsigned char data) |
|
| EXPORT_SYMBOL (max8925_reg_write) |
|
int | max8925_bulk_read (struct i2c_client *i2c, int reg, int count, unsigned char *buf) |
|
| EXPORT_SYMBOL (max8925_bulk_read) |
|
int | max8925_bulk_write (struct i2c_client *i2c, int reg, int count, unsigned char *buf) |
|
| EXPORT_SYMBOL (max8925_bulk_write) |
|
int | max8925_set_bits (struct i2c_client *i2c, int reg, unsigned char mask, unsigned char data) |
|
| EXPORT_SYMBOL (max8925_set_bits) |
|
| MODULE_DEVICE_TABLE (i2c, max8925_id_table) |
|
| subsys_initcall (max8925_i2c_init) |
|
| module_exit (max8925_i2c_exit) |
|
| MODULE_DESCRIPTION ("I2C Driver for Maxim 8925") |
|
| MODULE_AUTHOR ("Haojian Zhuang <[email protected]>") |
|
| MODULE_LICENSE ("GPL") |
|
#define ADC_I2C_ADDR 0x47 |
#define RTC_I2C_ADDR 0x68 |
MODULE_DESCRIPTION |
( |
"I2C Driver for Maxim 8925" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
max8925_id_table |
|
|
) |
| |
module_exit |
( |
max8925_i2c_exit |
| ) |
|
subsys_initcall |
( |
max8925_i2c_init |
| ) |
|