diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:22:11 -0600 |
---|---|---|
committer | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:22:11 -0600 |
commit | 40b728a43e3aba1a810ea3a8332e90a606e99807 (patch) | |
tree | a3be49327825f7f50129838020c815acbdf8b55c /arch | |
parent | 19f48fbe00e75572b2e28fd031bed5d0fa0d73f6 (diff) |
CR ENGR00049086: fix scc fail fuse not blown
Patch for CR ENGR00049086: fix scc fail fuse not blown.
Deregistering the driver properly to prevent boot crash if SCC fuse are
not blown. Applies to linux 2.6.22 kernel for MX platforms.
http://www.bitshrine.org/gpp/linux-2.6.22-mx-CR-ENGR00049086-fix-scc-fail-fuse-not-blow.patch
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx27/devices.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-mx3/devices.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-mx27/devices.c b/arch/arm/mach-mx27/devices.c index 0df427998b7c..e0381f082d0d 100644 --- a/arch/arm/mach-mx27/devices.c +++ b/arch/arm/mach-mx27/devices.c @@ -127,13 +127,13 @@ static inline void mxc_init_wdt(void) */ #if defined(CONFIG_MXC_SECURITY_SCC) || defined(CONFIG_MXC_SECURITY_SCC_MODULE) static struct platform_device mxc_scc_device = { - .name = "mxc_scc", - .id = 0, + .name = "mxc_scc", + .id = 0, }; static void mxc_init_scc(void) { - platform_device_register(&mxc_scc_device); + platform_device_register(&mxc_scc_device); } #else static inline void mxc_init_scc(void) diff --git a/arch/arm/mach-mx3/devices.c b/arch/arm/mach-mx3/devices.c index 51ff2253cef5..eef2f4ceb6ba 100644 --- a/arch/arm/mach-mx3/devices.c +++ b/arch/arm/mach-mx3/devices.c @@ -340,13 +340,13 @@ static inline void mxc_init_ir(void) */ #if defined(CONFIG_MXC_SECURITY_SCC) || defined(CONFIG_MXC_SECURITY_SCC_MODULE) static struct platform_device mxc_scc_device = { - .name = "mxc_scc", - .id = 0, + .name = "mxc_scc", + .id = 0, }; static void mxc_init_scc(void) { - platform_device_register(&mxc_scc_device); + platform_device_register(&mxc_scc_device); } #else static inline void mxc_init_scc(void) |