diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-06-11 01:58:01 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-06-11 01:58:01 -0700 | 
| commit | 4894e4aca82aca927d0404ce61f021f790de4b1e (patch) | |
| tree | bbe0d083829f5858295298f188d885367cf4b1f6 /arch/powerpc/sysdev/fsl_soc.c | |
| parent | 05e882f890038c702a4f15d385135d03cf74ad48 (diff) | |
| parent | 07a2039b8eb0af4ff464efd3dfd95de5c02648c6 (diff) | |
| download | olio-linux-3.10-4894e4aca82aca927d0404ce61f021f790de4b1e.tar.xz olio-linux-3.10-4894e4aca82aca927d0404ce61f021f790de4b1e.zip  | |
Merge commit 'v2.6.30' into next
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.c')
| -rw-r--r-- | arch/powerpc/sysdev/fsl_soc.c | 46 | 
1 files changed, 0 insertions, 46 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index afe8dbc964a..5c64ccd402e 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c @@ -208,52 +208,6 @@ static int __init of_add_fixed_phys(void)  arch_initcall(of_add_fixed_phys);  #endif /* CONFIG_FIXED_PHY */ -#ifdef CONFIG_PPC_83xx -static int __init mpc83xx_wdt_init(void) -{ -	struct resource r; -	struct device_node *np; -	struct platform_device *dev; -	u32 freq = fsl_get_sys_freq(); -	int ret; - -	np = of_find_compatible_node(NULL, "watchdog", "mpc83xx_wdt"); - -	if (!np) { -		ret = -ENODEV; -		goto nodev; -	} - -	memset(&r, 0, sizeof(r)); - -	ret = of_address_to_resource(np, 0, &r); -	if (ret) -		goto err; - -	dev = platform_device_register_simple("mpc83xx_wdt", 0, &r, 1); -	if (IS_ERR(dev)) { -		ret = PTR_ERR(dev); -		goto err; -	} - -	ret = platform_device_add_data(dev, &freq, sizeof(freq)); -	if (ret) -		goto unreg; - -	of_node_put(np); -	return 0; - -unreg: -	platform_device_unregister(dev); -err: -	of_node_put(np); -nodev: -	return ret; -} - -arch_initcall(mpc83xx_wdt_init); -#endif -  static enum fsl_usb2_phy_modes determine_usb_phy(const char *phy_type)  {  	if (!phy_type)  |