mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
rk hdmi: add display_show_debug to fix warning
This commit is contained in:
@@ -189,6 +189,12 @@ static ssize_t display_store_scale(struct device *dev,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static ssize_t display_show_debug(struct device *dev,
|
||||
struct device_attribute *attr, char *buf)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static ssize_t display_store_debug(struct device *dev,
|
||||
struct device_attribute *attr,
|
||||
const char *buf, size_t count)
|
||||
@@ -212,7 +218,7 @@ static struct device_attribute display_attrs[] = {
|
||||
__ATTR(modes, S_IRUGO, display_show_modes, NULL),
|
||||
__ATTR(mode, 0664, display_show_mode, display_store_mode),
|
||||
__ATTR(scale, 0664, display_show_scale, display_store_scale),
|
||||
__ATTR(debug, 0664, NULL, display_store_debug),
|
||||
__ATTR(debug, 0664, display_show_debug, display_store_debug),
|
||||
__ATTR_NULL
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user