#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/rfkill.h>
#include <linux/olpc-ec.h>
static bool card_blocked;
static int rfkill_set_block(void *data, bool blocked)
{ … }
static const struct rfkill_ops rfkill_ops = …;
static int xo1_rfkill_probe(struct platform_device *pdev)
{ … }
static void xo1_rfkill_remove(struct platform_device *pdev)
{ … }
static struct platform_driver xo1_rfkill_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;