linux/drivers/siox/siox.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2015-2017 Pengutronix, Uwe Kleine-König <[email protected]>
 */
#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/siox.h>

#define to_siox_master(_dev)
struct siox_master {};

static inline void *siox_master_get_devdata(struct siox_master *smaster)
{}

struct siox_master *siox_master_alloc(struct device *dev, size_t size);
static inline void siox_master_put(struct siox_master *smaster)
{}

struct siox_master *devm_siox_master_alloc(struct device *dev, size_t size);

int siox_master_register(struct siox_master *smaster);
void siox_master_unregister(struct siox_master *smaster);

int devm_siox_master_register(struct device *dev, struct siox_master *smaster);