[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.01.0906161119500.3282@localhost.localdomain>
Date: Tue, 16 Jun 2009 11:20:48 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Ryan Hope <rmh3093@...il.com>
cc: Dave Airlie <airlied@...il.com>, Greg KH <greg@...ah.com>,
Dave Airlie <airlied@...ux.ie>, linux-kernel@...r.kernel.org,
dri-devel@...ts.sf.net
Subject: Re: [git pull] drm - fixes + radeon KMS (part 2)
On Tue, 16 Jun 2009, Ryan Hope wrote:
>
> +#ifdef MODULE
> module_init(radeon_init);
> +#else
> +late_initcall(radeon_init);
> +#endif
You should never need something like that.
Just do
late_initcall(radeon_init);
and if it's a module (which doesn't have "early" vs "late" etc), it will
just be a normal module_init.
Linus
--
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