#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/fsl/mc.h>
#include "dpaa2-ptp.h"
static int dpaa2_ptp_enable(struct ptp_clock_info *ptp,
struct ptp_clock_request *rq, int on)
{ … }
static const struct ptp_clock_info dpaa2_ptp_caps = …;
static irqreturn_t dpaa2_ptp_irq_handler_thread(int irq, void *priv)
{ … }
static int dpaa2_ptp_probe(struct fsl_mc_device *mc_dev)
{ … }
static void dpaa2_ptp_remove(struct fsl_mc_device *mc_dev)
{ … }
static const struct fsl_mc_device_id dpaa2_ptp_match_id_table[] = …;
MODULE_DEVICE_TABLE(fslmc, dpaa2_ptp_match_id_table);
static struct fsl_mc_driver dpaa2_ptp_drv = …;
module_fsl_mc_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;