[domen.puncer@telargo.com keeps bouncing on me, removed from Cc] On Thu, 27 Mar 2008 09:33:01 +0000 Russell King <rmk+lkml@arm.linux.org.uk> wrote:I don't see what this has to do with the paragraph you quoted, but yeah, good point. I don't think it should be used as an excuse for filling up struct clk with platform-specific crap, however. So how about something like this? struct clk_ops { struct module *owner; int (*can_get) (struct clk *, struct device *); int (*set_parent) (struct clk *, struct clk *); int (*enable) (struct clk *); void (*disable) (struct clk *); unsigned long (*getrate) (struct clk*); int (*setrate) (struct clk *, unsigned long); long (*roundrate) (struct clk *, unsigned long); }; struct clk { struct list_head node; struct clk *parent; const char *name; int users; const struct clk_ops *ops; }; Haavard --
| David Miller | [GIT]: Networking |
| Chuck Ebbert | Why do so many machines need "noapic"? |
| Rafael J. Wysocki | [Bug #11264] Invalid op opcode in kernel/workqueue |
| Arjan van de Ven | [patch] Add basic sanity checks to the syscall execution patch |
git: | |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Kevin Ballard | Re: git on MacOSX and files with decomposed utf-8 file names |
| Andreas Hildebrandt | CVS-$Id:$ replacement in git? |
| Jakub Narebski | Re: bug: git-sh-setup should not be in $PATH |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Darren Spruell | Re: OpenBSD as Virtualbox guest |
| Nick Guenther | Re: Real men don't attack straw men |
| Alexey Suslikov | OT: OpenBSD on Asus eeePC |
| Michael Chan | Re: bnx2 dirver's firmware images |
| Indan Zupancic | Re: Realtek 8111C transmit timed out |
| Alexey Dobriyan | Re: [GIT]: Networking |
| John P Poet | Realtek 8111C transmit timed out |
