1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2016 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
11 int panel_enable_backlight(struct udevice *dev)
13 struct panel_ops *ops = panel_get_ops(dev);
15 if (!ops->enable_backlight)
18 return ops->enable_backlight(dev);
21 UCLASS_DRIVER(panel) = {