• L
    clocksource: fixup ux500 build problems · b1e3be06
    Linus Walleij 提交于
    Based on a patch from Arnd Bergmann this fixes up the build
    problem of assigning a non-existing global when the ux500 PRCMU
    timer is not linked in by passing its base address to the init
    function. We also add a missing <linux/errno.h> inclusion and
    staticize the dummy function.
    
    Cc: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
    b1e3be06
clksrc-dbx500-prcmu.h 455 字节
/*
 * Copyright (C) ST-Ericsson SA 2011
 *
 * License Terms: GNU General Public License v2
 * Author: Mattias Wallin <mattias.wallin@stericsson.com>
 *
 */
#ifndef __CLKSRC_DBX500_PRCMU_H
#define __CLKSRC_DBX500_PRCMU_H

#include <linux/init.h>
#include <linux/io.h>

#ifdef CONFIG_CLKSRC_DBX500_PRCMU
void __init clksrc_dbx500_prcmu_init(void __iomem *base);
#else
static inline void __init clksrc_dbx500_prcmu_init(void __iomem *base) {}
#endif

#endif
反馈
建议
客服 返回
顶部