// SPDX-License-Identifier: GPL-2.0 // cx231xx IR glue driver // // Copyright (c) 2010 Mauro Carvalho Chehab <[email protected]> // // Polaris (cx231xx) has its support for IR's with a design close to MCE. // however, a few designs are using an external I2C chip for IR, instead // of using the one provided by the chip. // This driver provides support for those extra devices #include "cx231xx.h" #include <linux/slab.h> #include <linux/bitrev.h> #define MODULE_NAME … static int get_key_isdbt(struct IR_i2c *ir, enum rc_proto *protocol, u32 *pscancode, u8 *toggle) { … } int cx231xx_ir_init(struct cx231xx *dev) { … } void cx231xx_ir_exit(struct cx231xx *dev) { … }