/* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org> * Copyright (C) 2013 John Crispin <john@phrozen.org> */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/export.h> #include <linux/clkdev.h> #include <linux/clk.h> #include <asm/time.h> #include "common.h" struct clk { struct clk_lookup cl; unsigned long rate; };
void ralink_clk_add(const char *dev, unsigned long rate) { struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); if (!clk) panic("failed to add clock"); clk->cl.dev_id = dev; clk->cl.clk = clk; clk->rate = rate; clkdev_add(&clk->cl); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
John Crispin | 69 | 98.57% | 1 | 50.00% |
Ralf Bächle | 1 | 1.43% | 1 | 50.00% |
Total | 70 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Crispin | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Crispin | 9 | 100.00% | 1 | 100.00% |
Total | 9 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Crispin | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Crispin | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Crispin | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Crispin | 73 | 98.65% | 2 | 66.67% |
Marc Zyngier | 1 | 1.35% | 1 | 33.33% |
Total | 74 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Crispin | 273 | 97.85% | 5 | 62.50% |
Paul Gortmaker | 4 | 1.43% | 1 | 12.50% |
Marc Zyngier | 1 | 0.36% | 1 | 12.50% |
Ralf Bächle | 1 | 0.36% | 1 | 12.50% |
Total | 279 | 100.00% | 8 | 100.00% |