#include <linux/acpi.h>
#include <linux/device.h>
#include <linux/ioport.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_data/wilco-ec.h>
#include <linux/platform_device.h>
#include "../cros_ec_lpc_mec.h"
#define DRV_NAME …
static struct resource *wilco_get_resource(struct platform_device *pdev,
int index)
{ … }
static int wilco_ec_probe(struct platform_device *pdev)
{ … }
static void wilco_ec_remove(struct platform_device *pdev)
{ … }
static const struct acpi_device_id wilco_ec_acpi_device_ids[] = …;
MODULE_DEVICE_TABLE(acpi, wilco_ec_acpi_device_ids);
static const struct platform_device_id wilco_ec_id[] = …;
MODULE_DEVICE_TABLE(platform, wilco_ec_id);
static struct platform_driver wilco_ec_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;