mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-07 05:04:04 +08:00
421faca0b5
To move closer to the generic struct clock framework move the proc_comm based clock code to a platform driver. The data describing the struct clks still live in the devices-$ARCH file, but the clock initialization is done at driver binding time. Cc: Saravana Kannan <skannan@codeaurora.org> Reviewed-by: Pankaj Jangra <jangra.pankaj9@gmail.com> Acked-by: Mike Turquette <mturquette@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
/* arch/arm/mach-msm/include/mach/board.h
|
|
*
|
|
* Copyright (C) 2007 Google, Inc.
|
|
* Author: Brian Swetland <swetland@google.com>
|
|
*
|
|
* 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 __ASM_ARCH_MSM_BOARD_H
|
|
#define __ASM_ARCH_MSM_BOARD_H
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/platform_data/mmc-msm_sdcc.h>
|
|
|
|
/* common init routines for use by arch/arm/mach-msm/board-*.c */
|
|
|
|
void __init msm_add_devices(void);
|
|
void __init msm_init_irq(void);
|
|
void __init msm_init_gpio(void);
|
|
int __init msm_add_sdcc(unsigned int controller,
|
|
struct msm_mmc_platform_data *plat,
|
|
unsigned int stat_irq, unsigned long stat_irq_flags);
|
|
|
|
#if defined(CONFIG_MSM_SMD) && defined(CONFIG_DEBUG_FS)
|
|
int smd_debugfs_init(void);
|
|
#else
|
|
static inline int smd_debugfs_init(void) { return 0; }
|
|
#endif
|
|
|
|
#endif
|