linux/drivers/misc/c2port/c2port-duramar2150.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  Silicon Labs C2 port Linux support for Eurotech Duramar 2150
 *
 *  Copyright (c) 2008 Rodolfo Giometti <[email protected]>
 *  Copyright (c) 2008 Eurotech S.p.A. <[email protected]>
 */

#include <linux/errno.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/c2port.h>

#define DATA_PORT
#define DIR_PORT
#define C2D
#define C2CK

static DEFINE_MUTEX(update_lock);

/*
 * C2 port operations
 */

static void duramar2150_c2port_access(struct c2port_device *dev, int status)
{}

static void duramar2150_c2port_c2d_dir(struct c2port_device *dev, int dir)
{}

static int duramar2150_c2port_c2d_get(struct c2port_device *dev)
{}

static void duramar2150_c2port_c2d_set(struct c2port_device *dev, int status)
{}

static void duramar2150_c2port_c2ck_set(struct c2port_device *dev, int status)
{}

static struct c2port_ops duramar2150_c2port_ops =;

static struct c2port_device *duramar2150_c2port_dev;

/*
 * Module stuff
 */

static int __init duramar2150_c2port_init(void)
{}

static void __exit duramar2150_c2port_exit(void)
{}

module_init();
module_exit(duramar2150_c2port_exit);

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