/* * 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 | 66.67% | 1 | 50.00% |
Jonas Gorski | 8 | 33.33% | 1 | 50.00% |
Total | 24 | 100.00% | 2 | 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% |
Daniel Lezcano | 1 | 1.35% | 1 | 33.33% |
Total | 74 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Crispin | 273 | 95.12% | 5 | 55.56% |
Jonas Gorski | 8 | 2.79% | 1 | 11.11% |
Paul Gortmaker | 4 | 1.39% | 1 | 11.11% |
Daniel Lezcano | 1 | 0.35% | 1 | 11.11% |
Ralf Bächle | 1 | 0.35% | 1 | 11.11% |
Total | 287 | 100.00% | 9 | 100.00% |