#include <linux/gpio_keys.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/mfd/rohm-bd718x7.h>
#include <linux/mfd/core.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regmap.h>
#include <linux/types.h>
static struct gpio_keys_button button = …;
static struct gpio_keys_platform_data bd718xx_powerkey_data = …;
static struct mfd_cell bd71837_mfd_cells[] = …;
static struct mfd_cell bd71847_mfd_cells[] = …;
static const struct regmap_irq bd718xx_irqs[] = …;
static struct regmap_irq_chip bd718xx_irq_chip = …;
static const struct regmap_range pmic_status_range = …;
static const struct regmap_access_table volatile_regs = …;
static const struct regmap_config bd718xx_regmap_config = …;
static int bd718xx_init_press_duration(struct regmap *regmap,
struct device *dev)
{ … }
static int bd718xx_i2c_probe(struct i2c_client *i2c)
{ … }
static const struct of_device_id bd718xx_of_match[] = …;
MODULE_DEVICE_TABLE(of, bd718xx_of_match);
static struct i2c_driver bd718xx_i2c_driver = …;
static int __init bd718xx_i2c_init(void)
{ … }
subsys_initcall(bd718xx_i2c_init);
static void __exit bd718xx_i2c_exit(void)
{ … }
module_exit(bd718xx_i2c_exit);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;