Skip to content
Commit 81ef8061 authored by Eric Bénard's avatar Eric Bénard Committed by Russell King
Browse files

ARM: 6281/1: video/imxfb.c: allow usage without BACKLIGHT_CLASS_DEVICE

From: Eric Bénard <eric@eukrea.com>

This fixes the following build failure:

	drivers/built-in.o: In function `imxfb_probe': mxcmmc.c:(.init.text+0xd04): undefined reference to `backlight_device_register'
	drivers/built-in.o: In function `imxfb_remove': mxcmmc.c:(.devexit.text+0x44): undefined reference to `backlight_device_unregister'

that was introduced by

	7a2bb23c

 (imxfb: add pwmr controlled backlight support)

Signed-off-by: default avatarEric Bénard <eric@eukrea.com>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 868003ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment