#include <linux/device.h>
#include <linux/errno.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/soc/samsung/exynos-chipid.h>
#include <linux/sys_soc.h>
#include "exynos-asv.h"
struct exynos_chipid_variant { … };
struct exynos_chipid_info { … };
static const struct exynos_soc_id { … } soc_ids[] = …;
static const char *product_id_to_soc_id(unsigned int product_id)
{ … }
static int exynos_chipid_get_chipid_info(struct regmap *regmap,
const struct exynos_chipid_variant *data,
struct exynos_chipid_info *soc_info)
{ … }
static int exynos_chipid_probe(struct platform_device *pdev)
{ … }
static void exynos_chipid_remove(struct platform_device *pdev)
{ … }
static const struct exynos_chipid_variant exynos4210_chipid_drv_data = …;
static const struct exynos_chipid_variant exynos850_chipid_drv_data = …;
static const struct of_device_id exynos_chipid_of_device_ids[] = …;
MODULE_DEVICE_TABLE(of, exynos_chipid_of_device_ids);
static struct platform_driver exynos_chipid_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;