2 * Copyright (c) 2016 Google, Inc
3 * Written by Simon Glass <sjg@chromium.org>
5 * SPDX-License-Identifier: GPL-2.0+
12 int panel_enable_backlight(struct udevice *dev)
14 struct panel_ops *ops = panel_get_ops(dev);
16 if (!ops->enable_backlight)
19 return ops->enable_backlight(dev);
22 UCLASS_DRIVER(panel) = {