]>
git.ipfire.org Git - people/ms/u-boot.git/blob - drivers/video/backlight-uclass.c
2 * Copyright (c) 2016 Google, Inc
3 * Written by Simon Glass <sjg@chromium.org>
5 * SPDX-License-Identifier: GPL-2.0+
10 #include <backlight.h>
12 int backlight_enable(struct udevice
*dev
)
14 const struct backlight_ops
*ops
= backlight_get_ops(dev
);
19 return ops
->enable(dev
);
22 UCLASS_DRIVER(backlight
) = {
23 .id
= UCLASS_PANEL_BACKLIGHT
,