linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH linux-next] fix compilation error in mach-omap2/display.c
@ 2017-08-28  9:32 Pavel Machek
  2017-08-28 11:24 ` Sebastian Reichel
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2017-08-28  9:32 UTC (permalink / raw)
  To: pali.rohar, sre, kernel list, linux-arm-kernel, linux-omap, tony,
	khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens

[-- Attachment #1: Type: text/plain, Size: 857 bytes --]


In linux-next 0828, I get

  CC      arch/arm/mach-omap2/display.o
  arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev':
  arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first

Fix it.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index 798fc71..b3f6eb5 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -172,6 +172,7 @@ static int __init omapdss_init_fbdev(void)
 		.set_min_bus_tput = omap_dss_set_min_bus_tput,
 	};
 	struct device_node *node;
+	int r;
 
 	board_data.version = omap_display_get_version();
 	if (board_data.version == OMAPDSS_VER_UNKNOWN) {

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH linux-next] fix compilation error in mach-omap2/display.c
  2017-08-28  9:32 [PATCH linux-next] fix compilation error in mach-omap2/display.c Pavel Machek
@ 2017-08-28 11:24 ` Sebastian Reichel
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2017-08-28 11:24 UTC (permalink / raw)
  To: Pavel Machek
  Cc: pali.rohar, kernel list, linux-arm-kernel, linux-omap, tony,
	khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]

Hi,

On Mon, Aug 28, 2017 at 11:32:07AM +0200, Pavel Machek wrote:
> In linux-next 0828, I get
> 
>   CC      arch/arm/mach-omap2/display.o
>   arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev':
>   arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first
> 
> Fix it.
> 
> Signed-off-by: Pavel Machek <pavel@ucw.cz>

https://lkml.org/lkml/2017/8/23/346

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-28 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28  9:32 [PATCH linux-next] fix compilation error in mach-omap2/display.c Pavel Machek
2017-08-28 11:24 ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).