#include <linux/clk.h>
#include <linux/device.h>
#include <linux/mfd/core.h>
#include <linux/mfd/mxs-lradc.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/slab.h>
#define ADC_CELL …
#define TSC_CELL …
#define RES_MEM …
enum mx23_lradc_irqs { … };
enum mx28_lradc_irqs { … };
static struct resource mx23_adc_resources[] = …;
static struct resource mx23_touchscreen_resources[] = …;
static struct resource mx28_adc_resources[] = …;
static struct resource mx28_touchscreen_resources[] = …;
static struct mfd_cell mx23_cells[] = …;
static struct mfd_cell mx28_cells[] = …;
static const struct of_device_id mxs_lradc_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, mxs_lradc_dt_ids);
static int mxs_lradc_probe(struct platform_device *pdev)
{ … }
static void mxs_lradc_remove(struct platform_device *pdev)
{ … }
static struct platform_driver mxs_lradc_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;