#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/nfc.h>
#include <linux/netdevice.h>
#include <linux/of.h>
#include <linux/serdev.h>
#include <linux/gpio.h>
#include <linux/of_gpio.h>
#include "phy_common.h"
#define S3FWRN82_NCI_HEADER …
#define S3FWRN82_NCI_IDX …
#define NCI_SKB_BUFF_LEN …
struct s3fwrn82_uart_phy { … };
static int s3fwrn82_uart_write(void *phy_id, struct sk_buff *out)
{ … }
static const struct s3fwrn5_phy_ops uart_phy_ops = …;
static size_t s3fwrn82_uart_read(struct serdev_device *serdev,
const u8 *data, size_t count)
{ … }
static const struct serdev_device_ops s3fwrn82_serdev_ops = …;
static const struct of_device_id s3fwrn82_uart_of_match[] = …;
MODULE_DEVICE_TABLE(of, s3fwrn82_uart_of_match);
static int s3fwrn82_uart_parse_dt(struct serdev_device *serdev)
{ … }
static int s3fwrn82_uart_probe(struct serdev_device *serdev)
{ … }
static void s3fwrn82_uart_remove(struct serdev_device *serdev)
{ … }
static struct serdev_device_driver s3fwrn82_uart_driver = …;
module_serdev_device_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;