linux/drivers/fsi/i2cr-scom.c

// SPDX-License-Identifier: GPL-2.0
/* Copyright (C) IBM Corporation 2023 */

#include <linux/cdev.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/fsi.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>

#include "fsi-master-i2cr.h"
#include "fsi-slave.h"

struct i2cr_scom {};

static loff_t i2cr_scom_llseek(struct file *file, loff_t offset, int whence)
{}

static ssize_t i2cr_scom_read(struct file *filep, char __user *buf, size_t len, loff_t *offset)
{}

static ssize_t i2cr_scom_write(struct file *filep, const char __user *buf, size_t len,
			       loff_t *offset)
{}

static const struct file_operations i2cr_scom_fops =;

static int i2cr_scom_probe(struct device *dev)
{}

static int i2cr_scom_remove(struct device *dev)
{}

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

static const struct fsi_device_id i2cr_scom_ids[] =;

static struct fsi_driver i2cr_scom_driver =;

module_fsi_driver();

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