rk hdmi: add display_show_debug to fix warning

This commit is contained in:
hjc
2014-09-01 18:28:12 +08:00
parent 7d6f3bb0e4
commit f98ebb4056

View File

@@ -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
};