Files
linux-rockchip/include/linux/ebc.h
Tao Huang 36475bcb4b drm/rockchip: ebc_dev: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I0a496232e037563c181189f29ecd4dc818e1a9d4
2024-12-09 17:07:55 +08:00

43 lines
798 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2024 Rockchip Electronics Co., Ltd.
*
* Author: Zorro Liu <zorro.liu@rock-chips.com>
*/
#ifndef __LINUX_EBC_H__
#define __LINUX_EBC_H__
#include <linux/notifier.h>
/*
* ebc status notify
*/
#define EBC_OFF (0)
#define EBC_ON (1)
#define EBC_FB_BLANK (2)
#define EBC_FB_UNBLANK (3)
#if IS_REACHABLE(CONFIG_ROCKCHIP_EBC_DEV)
int ebc_register_notifier(struct notifier_block *nb);
int ebc_unregister_notifier(struct notifier_block *nb);
int ebc_notify(unsigned long event);
#else
static inline int ebc_register_notifier(struct notifier_block *nb)
{
return 0;
}
static inline int ebc_unregister_notifier(struct notifier_block *nb)
{
return 0;
}
static inline int ebc_notify(unsigned long event)
{
return 0;
}
#endif
#endif