aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-04-16 03:54:39 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-16 03:56:18 -0400
commit7a17a2f79f54a988d08ffa33ec9e1038bffec42b (patch)
tree3d65b49a2d8b76851eb97a47c69e6481a884c8dc /net/unix
parent80de2d982156b5f6f50ff97175dc94ccfe3d093f (diff)
[VLAN]: Make the vlan_name_type per-net.
This includes moving one on the struct vlan_net and s/vlan_name_type/vn->name_type/ over the code. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions
/span>struct opp *opp) { return 0; } static inline unsigned long opp_get_freq(struct opp *opp) { return 0; } static inline int opp_get_opp_count(struct device *dev) { return 0; } static inline struct opp *opp_find_freq_exact(struct device *dev, unsigned long freq, bool available) { return ERR_PTR(-EINVAL); } static inline struct opp *opp_find_freq_floor(struct device *dev, unsigned long *freq) { return ERR_PTR(-EINVAL); } static inline struct opp *opp_find_freq_ceil(struct device *dev, unsigned long *freq) { return ERR_PTR(-EINVAL); } static inline int opp_add(struct device *dev, unsigned long freq, unsigned long u_volt) { return -EINVAL; } static inline int opp_enable(struct device *dev, unsigned long freq) { return 0; } static inline int opp_disable(struct device *dev, unsigned long freq) { return 0; } static inline struct srcu_notifier_head *opp_get_notifier(struct device *dev) { return ERR_PTR(-EINVAL); } #endif /* CONFIG_PM_OPP */ #if defined(CONFIG_CPU_FREQ) && defined(CONFIG_PM_OPP) int opp_init_cpufreq_table(struct device *dev, struct cpufreq_frequency_table **table); void opp_free_cpufreq_table(struct device *dev, struct cpufreq_frequency_table **table); #else static inline int opp_init_cpufreq_table(struct device *dev, struct cpufreq_frequency_table **table) { return -EINVAL; } static inline void opp_free_cpufreq_table(struct device *dev, struct cpufreq_frequency_table **table) { } #endif /* CONFIG_CPU_FREQ */ #endif /* __LINUX_OPP_H__ */