ARM: OMAP2+: fix missing variable declaration
authorArnd Bergmann <[email protected]>
Wed, 23 Aug 2017 13:28:19 +0000 (15:28 +0200)
committerTomi Valkeinen <[email protected]>
Thu, 24 Aug 2017 12:17:25 +0000 (15:17 +0300)
commitd1bbc823781f9b325fb25b4af83cf1afd314e6d5
tree1c9153c069061b3d2c431d078f5f8e278dde3214
parentfc5cc9678e130196012c17b37e555d53d3d3476b
ARM: OMAP2+: fix missing variable declaration

The function that was added doesn't actually build:

arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev':
arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first use in this function)

This adds a declaration for 'r' to fix it.

Fixes: 5ce783025c82 ("ARM: OMAP2+: Don't register omapdss device for omapdrm")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
arch/arm/mach-omap2/display.c