Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1497752 > unrolled thread

Re: [PATCH] watchdog: rt2880_wdt: Remove assignment of dev pointer

Started byWim Van Sebroeck <wim@iguana.be>
First post2016-10-08 16:20 +0200
Last post2016-10-08 16:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] watchdog: rt2880_wdt: Remove assignment of dev pointer Wim Van Sebroeck <wim@iguana.be> - 2016-10-08 16:20 +0200

#1497752 — Re: [PATCH] watchdog: rt2880_wdt: Remove assignment of dev pointer

FromWim Van Sebroeck <wim@iguana.be>
Date2016-10-08 16:20 +0200
SubjectRe: [PATCH] watchdog: rt2880_wdt: Remove assignment of dev pointer
Message-ID<sq0DL-89G-9@gated-at.bofh.it>
Hi Matt,

> Commit 0254e953537c ("watchdog: Drop pointer to watchdog device from
> struct watchdog_device") removed the dev pointer from struct
> watchdog_device, but this driver was still assigning it, leading to a
> compilation error:
> 
> drivers/watchdog/rt2880_wdt.c: In function ‘rt288x_wdt_probe’:
> drivers/watchdog/rt2880_wdt.c:161:16: error: ‘struct watchdog_device’
> has no member named ‘dev’
>   rt288x_wdt_dev.dev = &pdev->dev;
>                 ^
> scripts/Makefile.build:289: recipe for target
> 'drivers/watchdog/rt2880_wdt.o' failed
> 
> Fix this by removing the assignment.
> 
> Fixes: 0254e953537c
> Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
> ---

This patch and a similar patch from Guenter regarding mt7621_wdt was
added to linux-watchdog-next almost 2 weeks ago.

Kind regards,
Wim.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web