linux/drivers/video/fbdev/nvidia/nv_backlight.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Backlight code for nVidia based graphic cards
 *
 * Copyright 2004 Antonino Daplas <[email protected]>
 * Copyright (c) 2006 Michael Hanselmann <[email protected]>
 */

#include <linux/backlight.h>
#include <linux/fb.h>
#include <linux/pci.h>

#ifdef CONFIG_PMAC_BACKLIGHT
#include <asm/backlight.h>
#endif

#include "nv_local.h"
#include "nv_type.h"
#include "nv_proto.h"

/* We do not have any information about which values are allowed, thus
 * we used safe values.
 */
#define MIN_LEVEL
#define MAX_LEVEL
#define LEVEL_STEP

static int nvidia_bl_get_level_brightness(struct nvidia_par *par,
		int level)
{}

static int nvidia_bl_update_status(struct backlight_device *bd)
{}

static const struct backlight_ops nvidia_bl_ops =;

void nvidia_bl_init(struct nvidia_par *par)
{}

void nvidia_bl_exit(struct nvidia_par *par)
{}