#define pr_fmt(fmt) …
#include <linux/dmi.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_data/x86/simatic-ipc.h>
#include <linux/platform_device.h>
static struct platform_device *ipc_led_platform_device;
static struct platform_device *ipc_wdt_platform_device;
static struct platform_device *ipc_batt_platform_device;
static const struct dmi_system_id simatic_ipc_whitelist[] = …;
static struct simatic_ipc_platform platform_data;
#define SIMATIC_IPC_MAX_EXTRA_MODULES …
static struct { … } device_modes[] = …;
static int register_platform_devices(u32 station_id)
{ … }
static void request_additional_modules(u32 station_id)
{ … }
static int __init simatic_ipc_init_module(void)
{ … }
static void __exit simatic_ipc_exit_module(void)
{ … }
module_init(…) …;
module_exit(simatic_ipc_exit_module);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_ALIAS(…) …;