cregit-Linux how code gets into the kernel

Release 4.17 include/linux/clk/sunxi-ng.h

/*
 * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef _LINUX_CLK_SUNXI_NG_H_

#define _LINUX_CLK_SUNXI_NG_H_

#include <linux/errno.h>

#ifdef CONFIG_SUNXI_CCU
int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode);
int sunxi_ccu_get_mmc_timing_mode(struct clk *clk);
#else

static inline int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode) { return -ENOTSUPP; }

Contributors

PersonTokensPropCommitsCommitProp
Chen-Yu Tsai19100.00%1100.00%
Total19100.00%1100.00%


static inline int sunxi_ccu_get_mmc_timing_mode(struct clk *clk) { return -ENOTSUPP; }

Contributors

PersonTokensPropCommitsCommitProp
Chen-Yu Tsai16100.00%1100.00%
Total16100.00%1100.00%

#endif #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Chen-Yu Tsai75100.00%1100.00%
Total75100.00%1100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.