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)
__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
};