1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Siano Mobile Silicon, Inc.
5 * MDTV receiver kernel modules.
6 * Copyright (C) 2006-2009, Uri Shkolnik
8 * Copyright (c) 2010 - Mauro Carvalho Chehab
9 * - Ported the driver to use rc-core
10 * - IR raw event decoding is now done at rc-core
11 * - Code almost re-written
17 #include <linux/input.h>
18 #include <media/rc-core.h>
20 struct smscore_device_t
;
33 #ifdef CONFIG_SMS_SIANO_RC
34 int sms_ir_init(struct smscore_device_t
*coredev
);
35 void sms_ir_exit(struct smscore_device_t
*coredev
);
36 void sms_ir_event(struct smscore_device_t
*coredev
,
37 const char *buf
, int len
);
39 inline static int sms_ir_init(struct smscore_device_t
*coredev
) {
42 inline static void sms_ir_exit(struct smscore_device_t
*coredev
) {};
43 inline static void sms_ir_event(struct smscore_device_t
*coredev
,
44 const char *buf
, int len
) {};
47 #endif /* __SMS_IR_H__ */