lkml.org 
[lkml]   [2008]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/18] linux infrared remote control drivers
On Tue, Sep 09, 2008 at 12:05:45AM -0400, Jarod Wilson wrote:
> The following patch series adds 17 new drivers for assorted infrared and/or RF
> remote control receivers and/or transmitters. These drivers have long lived
> out-of-tree at http://www.lirc.org/, packaged as 3rd-party modules by many
> distributions, and more recently, patched into the kernels of at least Fedora
> and Ubuntu.

Woo-hoo! One Vista-compatible (oh how it's called) remote control was
waiting for this!

All version.h and autoconf.h inclusions aren't needed.

#ifdef MODULE is gross and very old. Don't need that. Just use

static int __init x_init(void)
{
...
}

static void __exit x_exit(void)
{
...
}
module_init(x_init);
module_exit(x_exit);
MODULE_LICENSE
...

It will work correctly in modular and built-in case.

Static number of devices is simple but how about adding them dynamically.


\
 
 \ /
  Last update: 2008-09-09 09:07    [W:0.331 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site