Indrek Kruusa | 2 Jan 15:21 2007
Picon

[PATCH] [MTD] cs553x_nand.c: support partitions; cs553x_cleanup() fix

Hi!

Patch for drivers/mtd/nand/cs553x_nand.c:
- support partitions
- cs553x_cleanup(): try the cleanup for all chip selects

Signed-off-by: Indrek Kruusa <indrek.kruusa <at> artecdesign.ee>

--- cs553x_nand.c_git	2007-01-02 15:13:06.000000000 +0200
+++ cs553x_nand.c	2007-01-02 15:45:38.000000000 +0200
 <at>  <at>  -273,12 +273,21  <at>  <at> 
 	return 0;
 }

+
+#ifdef CONFIG_MTD_PARTITIONS
+const char *part_probes[] = { "cmdlinepart", NULL };
+#endif
+
+
 static int __init cs553x_init(void)
 {
 	int err = -ENXIO;
 	int i;
 	uint64_t val;

+	int mtd_parts_nb = 0;
+	struct mtd_partition *mtd_parts = 0;
+
 	/* If the CPU isn't a Geode GX or LX, abort */
(Continue reading)

Josh Boyer | 2 Jan 15:40 2007
Picon

Re: [PATCH] [MTD] cs553x_nand.c: support partitions; cs553x_cleanup() fix

On Tue, 2007-01-02 at 16:21 +0200, Indrek Kruusa wrote:
> Hi!
> 
> Patch for drivers/mtd/nand/cs553x_nand.c:
> - support partitions
> - cs553x_cleanup(): try the cleanup for all chip selects

Some small nit picks.

> 
> Signed-off-by: Indrek Kruusa <indrek.kruusa <at> artecdesign.ee>
> 
> 
> --- cs553x_nand.c_git	2007-01-02 15:13:06.000000000 +0200
> +++ cs553x_nand.c	2007-01-02 15:45:38.000000000 +0200

Patches should have a strip level of 1.

>  <at>  <at>  -273,12 +273,21  <at>  <at> 
>  	return 0;
>  }
> 
> +
> +#ifdef CONFIG_MTD_PARTITIONS
> +const char *part_probes[] = { "cmdlinepart", NULL };
> +#endif
> +
> +
>  static int __init cs553x_init(void)
>  {
(Continue reading)

Indrek Kruusa | 2 Jan 16:35 2007
Picon

Re: [PATCH] [MTD] cs553x_nand.c: support partitions; cs553x_cleanup() fix

On Tue, 02 Jan 2007 08:40:58 -0600
Josh Boyer <jwboyer <at> linux.vnet.ibm.com> wrote:

> On Tue, 2007-01-02 at 16:21 +0200, Indrek Kruusa wrote:
> > Hi!
> > 
> > Patch for drivers/mtd/nand/cs553x_nand.c:
> > - support partitions
> > - cs553x_cleanup(): try the cleanup for all chip selects
> 
> Some small nit picks.
> 
> > 
> > Signed-off-by: Indrek Kruusa <indrek.kruusa <at> artecdesign.ee>
> > 
> > 
> > --- cs553x_nand.c_git	2007-01-02 15:13:06.000000000 +0200
> > +++ cs553x_nand.c	2007-01-02 15:45:38.000000000 +0200
> 
> Patches should have a strip level of 1.

Oh my, sure. I will resend the patch.

> 
> >  <at>  <at>  -273,12 +273,21  <at>  <at> 
> >  	return 0;
> >  }
> > 
> > +
> > +#ifdef CONFIG_MTD_PARTITIONS
(Continue reading)


Gmane