linux/drivers/gpio/gpio-74xx-mmio.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * 74xx MMIO GPIO driver
 *
 *  Copyright (C) 2014 Alexander Shiyan <[email protected]>
 */

#include <linux/bits.h>
#include <linux/err.h>
#include <linux/gpio/driver.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/property.h>

#define MMIO_74XX_DIR_IN
#define MMIO_74XX_DIR_OUT
#define MMIO_74XX_BIT_CNT(x)

struct mmio_74xx_gpio_priv {};

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

static int mmio_74xx_get_direction(struct gpio_chip *gc, unsigned offset)
{}

static int mmio_74xx_dir_in(struct gpio_chip *gc, unsigned int gpio)
{}

static int mmio_74xx_dir_out(struct gpio_chip *gc, unsigned int gpio, int val)
{}

static int mmio_74xx_gpio_probe(struct platform_device *pdev)
{}

static struct platform_driver mmio_74xx_gpio_driver =;
module_platform_driver();

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