lkml.org 
[lkml]   [2015]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 09/11] mtd: drop unnecessary partition parser data
On Fri, 30 Oct 2015 20:33:28 -0700
Brian Norris <computersforpeace@gmail.com> wrote:

> --- a/drivers/mtd/maps/lantiq-flash.c
> +++ b/drivers/mtd/maps/lantiq-flash.c
> @@ -110,7 +110,6 @@ ltq_copy_to(struct map_info *map, unsigned long to,
> static int
> ltq_mtd_probe(struct platform_device *pdev)
> {
> - struct mtd_part_parser_data ppdata;
> struct ltq_mtd *ltq_mtd;
> struct cfi_private *cfi;
> int err;
> @@ -161,13 +160,13 @@ ltq_mtd_probe(struct platform_device *pdev)
> }
>
> ltq_mtd->mtd->dev.parent = &pdev->dev;
> + mtd_set_of_node(&ltq_mtd->mtd, pdev->dev.of_node);

Should be:

mtd_set_of_node(ltq_mtd->mtd, pdev->dev.of_node);

(This error was reported by your aiaiai build test)

--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


\
 
 \ /
  Last update: 2015-11-05 10:01    [W:0.193 / U:1.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site