/* * 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 #ifndef CONFIG_COMMON_CLK struct clk; static inline int __clk_get(struct clk *clk) { return 1; } static inline void __clk_put(struct clk *clk) { } #endif static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) { return kzalloc(size, GFP_KERNEL); } #endif 'cgit logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-02-05 16:11:59 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-05 16:11:59 -0500
commitbd092ad1463ca0990581fa992e12a9b0ed295d25 (patch)
tree393a469e499e95a0fbc8eb22d6f1707bbb7053cb /include
parent3976001c9db0354a0bcbd77e324fdf1bc04e110f (diff)
parent02c1602ee7b3e3d062c3eacd374d6a6e3a2ebb73 (diff)
Merge branch 'remove-__napi_complete_done'
Eric Dumazet says: ==================== net: get rid of __napi_complete() This patch series removes __napi_complete() calls, in an effort to make NAPI API simpler and generalize GRO and napi_complete_done() ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h