cregit-Linux how code gets into the kernel

Release 4.7 include/asm-generic/clkdev.h

/*
 *  include/asm-generic/clkdev.h
 *
 * Based on the ARM clkdev.h:
 *  Copyright (C) 2008 Russell King.
 *
 * 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.
 *
 * Helper for the clk API to assist looking up a struct clk.
 */
#ifndef __ASM_CLKDEV_H

#define __ASM_CLKDEV_H

#include <linux/slab.h>

#ifndef CONFIG_COMMON_CLK
struct clk;


static inline int __clk_get(struct clk *clk) { return 1; }

Contributors

PersonTokensPropCommitsCommitProp
mark brownmark brown15100.00%1100.00%
Total15100.00%1100.00%


static inline void __clk_put(struct clk *clk) { }

Contributors

PersonTokensPropCommitsCommitProp
mark brownmark brown11100.00%1100.00%
Total11100.00%1100.00%

#endif
static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) { return kzalloc(size, GFP_KERNEL); }

Contributors

PersonTokensPropCommitsCommitProp
mark brownmark brown20100.00%1100.00%
Total20100.00%1100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
mark brownmark brown6192.42%150.00%
michael turquettemichael turquette57.58%150.00%
Total66100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}