#include <linux/bitrev.h>
#include <linux/module.h>
#include "rc-core-priv.h"
#define SONY_UNIT …
#define SONY_HEADER_PULSE …
#define SONY_HEADER_SPACE …
#define SONY_BIT_0_PULSE …
#define SONY_BIT_1_PULSE …
#define SONY_BIT_SPACE …
#define SONY_TRAILER_SPACE …
enum sony_state { … };
static int ir_sony_decode(struct rc_dev *dev, struct ir_raw_event ev)
{ … }
static const struct ir_raw_timings_pl ir_sony_timings = …;
static int ir_sony_encode(enum rc_proto protocol, u32 scancode,
struct ir_raw_event *events, unsigned int max)
{ … }
static struct ir_raw_handler sony_handler = …;
static int __init ir_sony_decode_init(void)
{ … }
static void __exit ir_sony_decode_exit(void)
{ … }
module_init(…) …;
module_exit(ir_sony_decode_exit);
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;