diff options
author | Gerd Knorr <devnull@localhost> | 2004-06-30 14:46:22 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-06-30 14:46:22 +0000 |
commit | 5c8362d33f8ce00f5b9df552675bcd14e7676b13 (patch) | |
tree | f5ae7e1ea2541af2125225559129bbe4fe3d56a9 /linux/drivers/media/video/ir-kbd-i2c.c | |
parent | d8426ab9d1b7d1985b366f4ad7f420a3869c2b0f (diff) | |
download | mediapointer-dvb-s2-5c8362d33f8ce00f5b9df552675bcd14e7676b13.tar.gz mediapointer-dvb-s2-5c8362d33f8ce00f5b9df552675bcd14e7676b13.tar.bz2 |
- batch of triviasl i2c fixes by Arthur Othieno.
Diffstat (limited to 'linux/drivers/media/video/ir-kbd-i2c.c')
-rw-r--r-- | linux/drivers/media/video/ir-kbd-i2c.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/linux/drivers/media/video/ir-kbd-i2c.c b/linux/drivers/media/video/ir-kbd-i2c.c index c00043a2e..bf99ddd24 100644 --- a/linux/drivers/media/video/ir-kbd-i2c.c +++ b/linux/drivers/media/video/ir-kbd-i2c.c @@ -478,13 +478,12 @@ MODULE_AUTHOR("Gerd Knorr, Michal Kochanowicz, Christoph Bartelmus, Ulrich Muell MODULE_DESCRIPTION("input driver for i2c IR remote controls"); MODULE_LICENSE("GPL"); -static int ir_init(void) +static int __init ir_init(void) { - i2c_add_driver(&driver); - return 0; + return i2c_add_driver(&driver); } -static void ir_fini(void) +static void __exit ir_fini(void) { i2c_del_driver(&driver); } |