lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 16 Dec 2008 09:16:46 -0800 From: Greg KH <gregkh@...e.de> To: Wolfram Sang <w.sang@...gutronix.de> Cc: hjk@...utronix.de, linux-kernel@...r.kernel.org, linuxppc-dev@...abs.org Subject: Re: adding of_platform_drivers (was: Re: [RESEND][PATCH] uio: Add of_platform_driver to uio_pdrv_genirq) On Tue, Dec 16, 2008 at 01:27:32PM +0100, Wolfram Sang wrote: > > > +/* --------------------------------------------------------------------- > > > + * OF bus binding > > > + */ > > > + > > > +#if defined(CONFIG_OF) > > > > Same goes here, don't put #if in .c files please. > > So, generally speaking, this means that I should not put a > platform_driver and an of_platform_driver into one source file, but > rather create an of_$DRIVER.c then? Yes, this is the preferred way to do it. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists