v4l2 subdevices and fops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

I'm writing a radio driver which uses subdevice file operations to
handle RDS reception and transmission. Some IOCTL call-backs to the main
device are easy to pass to the subdevice driver. To me it seems that
adding the fops pointer to the following struct in v4l2-subdev.h would
make passing the file operation call-backs equally convenient.

struct v4l2_subdev_ops {
	const struct v4l2_subdev_core_ops  *core;
	const struct v4l2_subdev_tuner_ops *tuner;
	const struct v4l2_subdev_audio_ops *audio;
	const struct v4l2_subdev_video_ops *video;
	const struct v4l2_subdev_pad_ops   *pad;
};

Could I expand the above struct in the way I described? Have I missed
something? Do you understand what I'm saying? :-)

Cheers,
Matti 

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux