Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 26 Apr 2010 19:01:28 +0200 | From | Jens Axboe <> | Subject | Re: [PATCH 1/2] [MTD] Move mtd_bdi_*mappable to mtdcore.c |
| |
On Mon, Apr 26 2010, Jörn Engel wrote: > On Mon, 26 April 2010 16:45:32 +0200, Jens Axboe wrote: > > > > Took a quick look, and you want bdi_setup_and_register() for the three > > bdis listed in mtdbdi.c in mtdcore.c:init_mtd(). Or manual bdi_init() > > and bdi_register(). I'll take a look post-dinner. Either is workable, > > but since the flags are already setup, the latter may be cleaner. > > Ok, here are two patches that appear to solve the problem for me. > > diff --git a/drivers/mtd/devices/drais.c b/drivers/mtd/devices/drais.c > index b93ff3f..6f81b28 100644 > --- a/drivers/mtd/devices/drais.c > +++ b/drivers/mtd/devices/drais.c > @@ -33,7 +33,7 @@ > #include <linux/sched.h> > #include "drais.h" > > -#undef DEBUG_ERASE > +#define DEBUG_ERASE
Leftover debugging?
-- Jens Axboe
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |