On Mon, Nov 08, 2010 at 07:38:41AM +0100, Arnd Bergmann wrote:Arnd, I'm working a revision of this series, and I am not sure I understand your comment. The intent here was to allow clock drivers to register a character device through the clock_device API, since some clocks (hpet, rtc) already offer a chardev interface. The same FD from the open character device will also be usable as a clockid for the generic posix clock_get/settime calls. Thus, the clock_device layer needs to hook into the file open/release functions. Are you suggesting that I simply offer all of the functions from a 'struct file_operations' (sans file/inode) in the 'struct clock_device_operations' too? I wanted to avoid duplicating the file_operations functions, so that future changes in those functions would automatically trickle down to the clock drivers. Thanks, Richard --
| Jesse Barnes | Re: [stable] [BUG][PATCH] cpqphp: fix kernel NULL pointer dereference |
| Greg KH | [003/136] p54usb: add Zcomax XG-705A usbid |
| Magnus Damm | [PATCH 03/07] ARM: Use shared GIC entry macros on Realview |
| Oliver Neukum | Re: [Bug #13682] The webcam stopped working when upgrading from 2.6.29 to 2.6.30 |
| Martin Schwidefsky | Re: [PATCH] optimized ktime_get[_ts] for GENERIC_TIME=y |
git: | |
| Junio C Hamano | Re: Some advanced index playing |
| Jeff King | Re: confusion over the new branch and merge config |
| Robin Rosenberg | Re: cvs2svn conversion directly to git ready for experimentation |
| Linus Torvalds | git binary size... |
| Ævar Arnfjörð Bjarmason | Re: Challenge with Git-Bash |
| Linux Kernel Mailing List | md: move |
