linux/drivers/media/rc/gpio-ir-recv.c

// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
 */

#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/gpio/consumer.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/pm_qos.h>
#include <linux/irq.h>
#include <media/rc-core.h>

#define GPIO_IR_DEVICE_NAME

struct gpio_rc_dev {};

static irqreturn_t gpio_ir_recv_irq(int irq, void *dev_id)
{}

static int gpio_ir_recv_probe(struct platform_device *pdev)
{}

static void gpio_ir_recv_remove(struct platform_device *pdev)
{}

#ifdef CONFIG_PM
static int gpio_ir_recv_suspend(struct device *dev)
{}

static int gpio_ir_recv_resume(struct device *dev)
{}

static int gpio_ir_recv_runtime_suspend(struct device *dev)
{}

static int gpio_ir_recv_runtime_resume(struct device *dev)
{}

static const struct dev_pm_ops gpio_ir_recv_pm_ops =;
#endif

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

static struct platform_driver gpio_ir_recv_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();