diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-17 21:28:56 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:28:59 -0400 |
commit | 4db16db4f60ce063435bd08b71c82aad1254cd95 (patch) | |
tree | 2710040fb858e5afcf06f38c8072c2959f8a9754 /drivers | |
parent | 432aa3b64d08f1453e2742d20c5fe6946ca22549 (diff) |
V4L/DVB (8394): ir-common: CodingStyle fix: move EXPORT_SYMBOL_GPL to their proper places
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/common/ir-functions.c | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/drivers/media/common/ir-functions.c b/drivers/media/common/ir-functions.c index 03b1165eacbc..16792a68a449 100644 --- a/drivers/media/common/ir-functions.c +++ b/drivers/media/common/ir-functions.c | |||
@@ -77,6 +77,7 @@ void ir_input_init(struct input_dev *dev, struct ir_input_state *ir, | |||
77 | if (repeat) | 77 | if (repeat) |
78 | set_bit(EV_REP, dev->evbit); | 78 | set_bit(EV_REP, dev->evbit); |
79 | } | 79 | } |
80 | EXPORT_SYMBOL_GPL(ir_input_init); | ||
80 | 81 | ||
81 | void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir) | 82 | void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir) |
82 | { | 83 | { |
@@ -85,6 +86,7 @@ void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir) | |||
85 | ir_input_key_event(dev,ir); | 86 | ir_input_key_event(dev,ir); |
86 | } | 87 | } |
87 | } | 88 | } |
89 | EXPORT_SYMBOL_GPL(ir_input_nokey); | ||
88 | 90 | ||
89 | void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir, | 91 | void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir, |
90 | u32 ir_key, u32 ir_raw) | 92 | u32 ir_key, u32 ir_raw) |
@@ -103,6 +105,7 @@ void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir, | |||
103 | ir_input_key_event(dev,ir); | 105 | ir_input_key_event(dev,ir); |
104 | } | 106 | } |
105 | } | 107 | } |
108 | EXPORT_SYMBOL_GPL(ir_input_keydown); | ||
106 | 109 | ||
107 | /* -------------------------------------------------------------------------- */ | 110 | /* -------------------------------------------------------------------------- */ |
108 | /* extract mask bits out of data and pack them into the result */ | 111 | /* extract mask bits out of data and pack them into the result */ |
@@ -121,6 +124,7 @@ u32 ir_extract_bits(u32 data, u32 mask) | |||
121 | 124 | ||
122 | return value; | 125 | return value; |
123 | } | 126 | } |
127 | EXPORT_SYMBOL_GPL(ir_extract_bits); | ||
124 | 128 | ||
125 | static int inline getbit(u32 *samples, int bit) | 129 | static int inline getbit(u32 *samples, int bit) |
126 | { | 130 | { |
@@ -145,6 +149,7 @@ int ir_dump_samples(u32 *samples, int count) | |||
145 | printk("\n"); | 149 | printk("\n"); |
146 | return 0; | 150 | return 0; |
147 | } | 151 | } |
152 | EXPORT_SYMBOL_GPL(ir_dump_samples); | ||
148 | 153 | ||
149 | /* decode raw samples, pulse distance coding used by NEC remotes */ | 154 | /* decode raw samples, pulse distance coding used by NEC remotes */ |
150 | int ir_decode_pulsedistance(u32 *samples, int count, int low, int high) | 155 | int ir_decode_pulsedistance(u32 *samples, int count, int low, int high) |
@@ -211,6 +216,7 @@ int ir_decode_pulsedistance(u32 *samples, int count, int low, int high) | |||
211 | 216 | ||
212 | return value; | 217 | return value; |
213 | } | 218 | } |
219 | EXPORT_SYMBOL_GPL(ir_decode_pulsedistance); | ||
214 | 220 | ||
215 | /* decode raw samples, biphase coding, used by rc5 for example */ | 221 | /* decode raw samples, biphase coding, used by rc5 for example */ |
216 | int ir_decode_biphase(u32 *samples, int count, int low, int high) | 222 | int ir_decode_biphase(u32 *samples, int count, int low, int high) |
@@ -252,6 +258,7 @@ int ir_decode_biphase(u32 *samples, int count, int low, int high) | |||
252 | } | 258 | } |
253 | return value; | 259 | return value; |
254 | } | 260 | } |
261 | EXPORT_SYMBOL_GPL(ir_decode_biphase); | ||
255 | 262 | ||
256 | /* RC5 decoding stuff, moved from bttv-input.c to share it with | 263 | /* RC5 decoding stuff, moved from bttv-input.c to share it with |
257 | * saa7134 */ | 264 | * saa7134 */ |
@@ -352,6 +359,7 @@ void ir_rc5_timer_end(unsigned long data) | |||
352 | } | 359 | } |
353 | } | 360 | } |
354 | } | 361 | } |
362 | EXPORT_SYMBOL_GPL(ir_rc5_timer_end); | ||
355 | 363 | ||
356 | void ir_rc5_timer_keyup(unsigned long data) | 364 | void ir_rc5_timer_keyup(unsigned long data) |
357 | { | 365 | { |
@@ -360,21 +368,4 @@ void ir_rc5_timer_keyup(unsigned long data) | |||
360 | dprintk(1, "ir-common: key released\n"); | 368 | dprintk(1, "ir-common: key released\n"); |
361 | ir_input_nokey(ir->dev, &ir->ir); | 369 | ir_input_nokey(ir->dev, &ir->ir); |
362 | } | 370 | } |
363 | |||
364 | EXPORT_SYMBOL_GPL(ir_input_init); | ||
365 | EXPORT_SYMBOL_GPL(ir_input_nokey); | ||
366 | EXPORT_SYMBOL_GPL(ir_input_keydown); | ||
367 | |||
368 | EXPORT_SYMBOL_GPL(ir_extract_bits); | ||
369 | EXPORT_SYMBOL_GPL(ir_dump_samples); | ||
370 | EXPORT_SYMBOL_GPL(ir_decode_biphase); | ||
371 | EXPORT_SYMBOL_GPL(ir_decode_pulsedistance); | ||
372 | |||
373 | EXPORT_SYMBOL_GPL(ir_rc5_timer_end); | ||
374 | EXPORT_SYMBOL_GPL(ir_rc5_timer_keyup); | 371 | EXPORT_SYMBOL_GPL(ir_rc5_timer_keyup); |
375 | |||
376 | /* | ||
377 | * Local variables: | ||
378 | * c-basic-offset: 8 | ||
379 | * End: | ||
380 | */ | ||