24 #include <linux/module.h>
26 #include <linux/slab.h>
28 #include <linux/ctype.h>
41 ret_size =
sprintf(buf,
"%.8x\n",od->
props->get_status(od));
47 const char *buf,
size_t count)
61 od->
props->set_state(od);
66 static void video_output_release(
struct device *dev)
73 __ATTR(
state, 0644, video_output_show_state, video_output_store_state),
78 static struct class video_output_class = {
79 .name =
"video_output",
80 .dev_release = video_output_release,
81 .dev_attrs = video_output_attributes,
98 new_dev->
dev.class = &video_output_class;
110 return ERR_PTR(ret_code);
122 static void __exit video_output_class_exit(
void)
127 static int __init video_output_class_init(
void)