linux/drivers/net/can/sja1000/sja1000_platform.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2005 Sascha Hauer, Pengutronix
 * Copyright (C) 2007 Wolfgang Grandegger <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
#include <linux/irq.h>
#include <linux/can/dev.h>
#include <linux/can/platform/sja1000.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/of.h>

#include "sja1000.h"

#define DRV_NAME
#define SP_CAN_CLOCK

MODULE_AUTHOR();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_ALIAS();
MODULE_LICENSE();

struct sja1000_of_data {};

struct technologic_priv {};

static u8 sp_read_reg8(const struct sja1000_priv *priv, int reg)
{}

static void sp_write_reg8(const struct sja1000_priv *priv, int reg, u8 val)
{}

static u8 sp_read_reg16(const struct sja1000_priv *priv, int reg)
{}

static void sp_write_reg16(const struct sja1000_priv *priv, int reg, u8 val)
{}

static u8 sp_read_reg32(const struct sja1000_priv *priv, int reg)
{}

static void sp_write_reg32(const struct sja1000_priv *priv, int reg, u8 val)
{}

static u8 sp_technologic_read_reg16(const struct sja1000_priv *priv, int reg)
{}

static void sp_technologic_write_reg16(const struct sja1000_priv *priv,
				       int reg, u8 val)
{}

static void sp_technologic_init(struct sja1000_priv *priv, struct device_node *of)
{}

static void sp_rzn1_init(struct sja1000_priv *priv, struct device_node *of)
{}

static void sp_populate(struct sja1000_priv *priv,
			struct sja1000_platform_data *pdata,
			unsigned long resource_mem_flags)
{}

static void sp_populate_of(struct sja1000_priv *priv, struct device_node *of)
{}

static struct sja1000_of_data technologic_data =;

static struct sja1000_of_data renesas_data =;

static const struct of_device_id sp_of_table[] =;
MODULE_DEVICE_TABLE(of, sp_of_table);

static int sp_probe(struct platform_device *pdev)
{}

static void sp_remove(struct platform_device *pdev)
{}

static struct platform_driver sp_driver =;

module_platform_driver();