Re: [PATCH 2/9] MTD: create lockless versions of {get, put}_mtd_device

Jörn Engel
2010-01-08T15:31:33Z

On Fri, 8 January 2010 17:27:24 +0200, Maxim Levitsky wrote:
>
> Yep, you miss this:
>
> +extern int __get_mtd_device(struct mtd_info *mtd);
> +extern void __put_mtd_device(struct mtd_info *mtd);
>
> I put that into the header, so these functions can be used outside.
>
> When I compiled the kernel, there were no warnings.

Maxim: 1
Joern: 0

Jörn

--
But this is not to say that the main benefit of Linux and other GPL
software is lower-cost. Control is the main benefit--cost is secondary.
-- Bruce Perens