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>
54 lines
1.8 KiB
C
54 lines
1.8 KiB
C
/* linux/arch/arm/mach-msm/devices.h
|
|
*
|
|
* Copyright (C) 2008 Google, Inc.
|
|
*
|
|
* 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 __ARCH_ARM_MACH_MSM_DEVICES_H
|
|
#define __ARCH_ARM_MACH_MSM_DEVICES_H
|
|
|
|
extern struct platform_device msm_device_gpio_7201;
|
|
extern struct platform_device msm_device_gpio_7x30;
|
|
extern struct platform_device msm_device_gpio_8x50;
|
|
|
|
extern struct platform_device msm_device_uart1;
|
|
extern struct platform_device msm_device_uart2;
|
|
extern struct platform_device msm_device_uart3;
|
|
|
|
extern struct platform_device msm8960_device_uart_gsbi2;
|
|
extern struct platform_device msm8960_device_uart_gsbi5;
|
|
|
|
extern struct platform_device msm_device_sdc1;
|
|
extern struct platform_device msm_device_sdc2;
|
|
extern struct platform_device msm_device_sdc3;
|
|
extern struct platform_device msm_device_sdc4;
|
|
|
|
extern struct platform_device msm_device_hsusb;
|
|
extern struct platform_device msm_device_otg;
|
|
extern struct platform_device msm_device_hsusb_host;
|
|
|
|
extern struct platform_device msm_device_i2c;
|
|
|
|
extern struct platform_device msm_device_smd;
|
|
|
|
extern struct platform_device msm_device_nand;
|
|
|
|
extern struct platform_device msm_device_mddi0;
|
|
extern struct platform_device msm_device_mddi1;
|
|
extern struct platform_device msm_device_mdp;
|
|
|
|
extern struct platform_device msm_clock_7x01a;
|
|
extern struct platform_device msm_clock_7x30;
|
|
extern struct platform_device msm_clock_8x50;
|
|
|
|
#endif
|