diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-08-07 13:46:51 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-08-07 13:46:51 -0400 |
| commit | 36b8659f9316b24c514a7c8290596b2382b91dd2 (patch) | |
| tree | b5228d0ccbde9600df13873b97eaae1c621e25e3 /drivers | |
| parent | cba8784ae0a9f7d0f1f87e0607e7ae66fc45666c (diff) | |
| parent | c0c60c4b9ab45bb02b20796401dd6a90770fd0ee (diff) | |
Merge master.kernel.org:/home/rmk/linux-2.6-arm
* master.kernel.org:/home/rmk/linux-2.6-arm: (30 commits)
ARM: 5639/1: arm: clkdev.c should include <linux/clk.h>
ARM: 5638/1: arch/arm/kernel/signal.c: use correct address space for CRUNCH
ARM: 5637/1: [KS8695] Don't reference CLOCK_TICK_RATE in drivers
ARM: S3C64XX: serial: Fix section mismatch warning
ARM: S3C24XX: serial: Fix section mismatch warnings
ARM: S3C: PWM fix for low duty cycle
ARM: 5597/1: [PCI] reset all internal hardware prior PCI initialization
ARM: 5627/1: Fix restoring of lr at the end of mcount
ARM: 5624/1: Document cache aliasing region
S3C64XX: Fix ARMCLK configuration
S3C64XX: Fix get_rate() for ARMCLK
S3C24XX: GPIO: Fix pin range check in s3c_gpiolib_getchip
mx3 defconfig update
mx27 defconfig update
ARM: 5623/1: Treo680: ir shutdown typo fix
ARM: includecheck fix: plat-stmp3xxx/pinmux.c
ARM: includecheck fix: plat-s3c64xx/pm.c
ARM: includecheck fix: mach-omap2/mcbsp.c
ARM: includecheck fix: mach-omap1/mcbsp.c
ARM: includecheck fix: board-sffsdr.c
...
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/serial/s3c2400.c | 8 | ||||
| -rw-r--r-- | drivers/serial/s3c2410.c | 8 | ||||
| -rw-r--r-- | drivers/serial/s3c2412.c | 8 | ||||
| -rw-r--r-- | drivers/serial/s3c2440.c | 8 | ||||
| -rw-r--r-- | drivers/serial/s3c24a0.c | 8 | ||||
| -rw-r--r-- | drivers/serial/s3c6400.c | 8 | ||||
| -rw-r--r-- | drivers/serial/serial_ks8695.c | 2 | ||||
| -rw-r--r-- | drivers/watchdog/ks8695_wdt.c | 4 |
8 files changed, 27 insertions, 27 deletions
diff --git a/drivers/serial/s3c2400.c b/drivers/serial/s3c2400.c index fb00ed5296e6..fed1a9a1ffb4 100644 --- a/drivers/serial/s3c2400.c +++ b/drivers/serial/s3c2400.c | |||
| @@ -76,7 +76,7 @@ static int s3c2400_serial_probe(struct platform_device *dev) | |||
| 76 | return s3c24xx_serial_probe(dev, &s3c2400_uart_inf); | 76 | return s3c24xx_serial_probe(dev, &s3c2400_uart_inf); |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | static struct platform_driver s3c2400_serial_drv = { | 79 | static struct platform_driver s3c2400_serial_driver = { |
| 80 | .probe = s3c2400_serial_probe, | 80 | .probe = s3c2400_serial_probe, |
| 81 | .remove = __devexit_p(s3c24xx_serial_remove), | 81 | .remove = __devexit_p(s3c24xx_serial_remove), |
| 82 | .driver = { | 82 | .driver = { |
| @@ -85,16 +85,16 @@ static struct platform_driver s3c2400_serial_drv = { | |||
| 85 | }, | 85 | }, |
| 86 | }; | 86 | }; |
| 87 | 87 | ||
| 88 | s3c24xx_console_init(&s3c2400_serial_drv, &s3c2400_uart_inf); | 88 | s3c24xx_console_init(&s3c2400_serial_driver, &s3c2400_uart_inf); |
| 89 | 89 | ||
| 90 | static inline int s3c2400_serial_init(void) | 90 | static inline int s3c2400_serial_init(void) |
| 91 | { | 91 | { |
| 92 | return s3c24xx_serial_init(&s3c2400_serial_drv, &s3c2400_uart_inf); | 92 | return s3c24xx_serial_init(&s3c2400_serial_driver, &s3c2400_uart_inf); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | static inline void s3c2400_serial_exit(void) | 95 | static inline void s3c2400_serial_exit(void) |
| 96 | { | 96 | { |
| 97 | platform_driver_unregister(&s3c2400_serial_drv); | 97 | platform_driver_unregister(&s3c2400_serial_driver); |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | module_init(s3c2400_serial_init); | 100 | module_init(s3c2400_serial_init); |
diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c index b5d7cbcba2ae..c99f0821cae3 100644 --- a/drivers/serial/s3c2410.c +++ b/drivers/serial/s3c2410.c | |||
| @@ -88,7 +88,7 @@ static int s3c2410_serial_probe(struct platform_device *dev) | |||
| 88 | return s3c24xx_serial_probe(dev, &s3c2410_uart_inf); | 88 | return s3c24xx_serial_probe(dev, &s3c2410_uart_inf); |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | static struct platform_driver s3c2410_serial_drv = { | 91 | static struct platform_driver s3c2410_serial_driver = { |
| 92 | .probe = s3c2410_serial_probe, | 92 | .probe = s3c2410_serial_probe, |
| 93 | .remove = __devexit_p(s3c24xx_serial_remove), | 93 | .remove = __devexit_p(s3c24xx_serial_remove), |
| 94 | .driver = { | 94 | .driver = { |
| @@ -97,16 +97,16 @@ static struct platform_driver s3c2410_serial_drv = { | |||
| 97 | }, | 97 | }, |
| 98 | }; | 98 | }; |
| 99 | 99 | ||
| 100 | s3c24xx_console_init(&s3c2410_serial_drv, &s3c2410_uart_inf); | 100 | s3c24xx_console_init(&s3c2410_serial_driver, &s3c2410_uart_inf); |
| 101 | 101 | ||
| 102 | static int __init s3c2410_serial_init(void) | 102 | static int __init s3c2410_serial_init(void) |
| 103 | { | 103 | { |
| 104 | return s3c24xx_serial_init(&s3c2410_serial_drv, &s3c2410_uart_inf); | 104 | return s3c24xx_serial_init(&s3c2410_serial_driver, &s3c2410_uart_inf); |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | static void __exit s3c2410_serial_exit(void) | 107 | static void __exit s3c2410_serial_exit(void) |
| 108 | { | 108 | { |
| 109 | platform_driver_unregister(&s3c2410_serial_drv); | 109 | platform_driver_unregister(&s3c2410_serial_driver); |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | module_init(s3c2410_serial_init); | 112 | module_init(s3c2410_serial_init); |
diff --git a/drivers/serial/s3c2412.c b/drivers/serial/s3c2412.c index 11dcb90bdfef..6e057d8809d3 100644 --- a/drivers/serial/s3c2412.c +++ b/drivers/serial/s3c2412.c | |||
| @@ -121,7 +121,7 @@ static int s3c2412_serial_probe(struct platform_device *dev) | |||
| 121 | return s3c24xx_serial_probe(dev, &s3c2412_uart_inf); | 121 | return s3c24xx_serial_probe(dev, &s3c2412_uart_inf); |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | static struct platform_driver s3c2412_serial_drv = { | 124 | static struct platform_driver s3c2412_serial_driver = { |
| 125 | .probe = s3c2412_serial_probe, | 125 | .probe = s3c2412_serial_probe, |
| 126 | .remove = __devexit_p(s3c24xx_serial_remove), | 126 | .remove = __devexit_p(s3c24xx_serial_remove), |
| 127 | .driver = { | 127 | .driver = { |
| @@ -130,16 +130,16 @@ static struct platform_driver s3c2412_serial_drv = { | |||
| 130 | }, | 130 | }, |
| 131 | }; | 131 | }; |
| 132 | 132 | ||
| 133 | s3c24xx_console_init(&s3c2412_serial_drv, &s3c2412_uart_inf); | 133 | s3c24xx_console_init(&s3c2412_serial_driver, &s3c2412_uart_inf); |
| 134 | 134 | ||
| 135 | static inline int s3c2412_serial_init(void) | 135 | static inline int s3c2412_serial_init(void) |
| 136 | { | 136 | { |
| 137 | return s3c24xx_serial_init(&s3c2412_serial_drv, &s3c2412_uart_inf); | 137 | return s3c24xx_serial_init(&s3c2412_serial_driver, &s3c2412_uart_inf); |
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | static inline void s3c2412_serial_exit(void) | 140 | static inline void s3c2412_serial_exit(void) |
| 141 | { | 141 | { |
| 142 | platform_driver_unregister(&s3c2412_serial_drv); | 142 | platform_driver_unregister(&s3c2412_serial_driver); |
| 143 | } | 143 | } |
| 144 | 144 | ||
| 145 | module_init(s3c2412_serial_init); | 145 | module_init(s3c2412_serial_init); |
diff --git a/drivers/serial/s3c2440.c b/drivers/serial/s3c2440.c index 06c5b0cc47a3..69ff5d340f04 100644 --- a/drivers/serial/s3c2440.c +++ b/drivers/serial/s3c2440.c | |||
| @@ -151,7 +151,7 @@ static int s3c2440_serial_probe(struct platform_device *dev) | |||
| 151 | return s3c24xx_serial_probe(dev, &s3c2440_uart_inf); | 151 | return s3c24xx_serial_probe(dev, &s3c2440_uart_inf); |
| 152 | } | 152 | } |
| 153 | 153 | ||
| 154 | static struct platform_driver s3c2440_serial_drv = { | 154 | static struct platform_driver s3c2440_serial_driver = { |
| 155 | .probe = s3c2440_serial_probe, | 155 | .probe = s3c2440_serial_probe, |
| 156 | .remove = __devexit_p(s3c24xx_serial_remove), | 156 | .remove = __devexit_p(s3c24xx_serial_remove), |
| 157 | .driver = { | 157 | .driver = { |
| @@ -160,16 +160,16 @@ static struct platform_driver s3c2440_serial_drv = { | |||
| 160 | }, | 160 | }, |
| 161 | }; | 161 | }; |
| 162 | 162 | ||
| 163 | s3c24xx_console_init(&s3c2440_serial_drv, &s3c2440_uart_inf); | 163 | s3c24xx_console_init(&s3c2440_serial_driver, &s3c2440_uart_inf); |
| 164 | 164 | ||
| 165 | static int __init s3c2440_serial_init(void) | 165 | static int __init s3c2440_serial_init(void) |
| 166 | { | 166 | { |
| 167 | return s3c24xx_serial_init(&s3c2440_serial_drv, &s3c2440_uart_inf); | 167 | return s3c24xx_serial_init(&s3c2440_serial_driver, &s3c2440_uart_inf); |
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | static void __exit s3c2440_serial_exit(void) | 170 | static void __exit s3c2440_serial_exit(void) |
| 171 | { | 171 | { |
| 172 | platform_driver_unregister(&s3c2440_serial_drv); | 172 | platform_driver_unregister(&s3c2440_serial_driver); |
| 173 | } | 173 | } |
| 174 | 174 | ||
| 175 | module_init(s3c2440_serial_init); | 175 | module_init(s3c2440_serial_init); |
diff --git a/drivers/serial/s3c24a0.c b/drivers/serial/s3c24a0.c index 786a067d62ac..26c49e18bdd1 100644 --- a/drivers/serial/s3c24a0.c +++ b/drivers/serial/s3c24a0.c | |||
| @@ -92,7 +92,7 @@ static int s3c24a0_serial_probe(struct platform_device *dev) | |||
| 92 | return s3c24xx_serial_probe(dev, &s3c24a0_uart_inf); | 92 | return s3c24xx_serial_probe(dev, &s3c24a0_uart_inf); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | static struct platform_driver s3c24a0_serial_drv = { | 95 | static struct platform_driver s3c24a0_serial_driver = { |
| 96 | .probe = s3c24a0_serial_probe, | 96 | .probe = s3c24a0_serial_probe, |
| 97 | .remove = __devexit_p(s3c24xx_serial_remove), | 97 | .remove = __devexit_p(s3c24xx_serial_remove), |
| 98 | .driver = { | 98 | .driver = { |
| @@ -101,16 +101,16 @@ static struct platform_driver s3c24a0_serial_drv = { | |||
| 101 | }, | 101 | }, |
| 102 | }; | 102 | }; |
| 103 | 103 | ||
| 104 | s3c24xx_console_init(&s3c24a0_serial_drv, &s3c24a0_uart_inf); | 104 | s3c24xx_console_init(&s3c24a0_serial_driver, &s3c24a0_uart_inf); |
| 105 | 105 | ||
| 106 | static int __init s3c24a0_serial_init(void) | 106 | static int __init s3c24a0_serial_init(void) |
| 107 | { | 107 | { |
| 108 | return s3c24xx_serial_init(&s3c24a0_serial_drv, &s3c24a0_uart_inf); | 108 | return s3c24xx_serial_init(&s3c24a0_serial_driver, &s3c24a0_uart_inf); |
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | static void __exit s3c24a0_serial_exit(void) | 111 | static void __exit s3c24a0_serial_exit(void) |
| 112 | { | 112 | { |
| 113 | platform_driver_unregister(&s3c24a0_serial_drv); | 113 | platform_driver_unregister(&s3c24a0_serial_driver); |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | module_init(s3c24a0_serial_init); | 116 | module_init(s3c24a0_serial_init); |
diff --git a/drivers/serial/s3c6400.c b/drivers/serial/s3c6400.c index 48f1a3781f0d..4be92ab50058 100644 --- a/drivers/serial/s3c6400.c +++ b/drivers/serial/s3c6400.c | |||
| @@ -122,7 +122,7 @@ static int s3c6400_serial_probe(struct platform_device *dev) | |||
| 122 | return s3c24xx_serial_probe(dev, &s3c6400_uart_inf); | 122 | return s3c24xx_serial_probe(dev, &s3c6400_uart_inf); |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | static struct platform_driver s3c6400_serial_drv = { | 125 | static struct platform_driver s3c6400_serial_driver = { |
| 126 | .probe = s3c6400_serial_probe, | 126 | .probe = s3c6400_serial_probe, |
| 127 | .remove = __devexit_p(s3c24xx_serial_remove), | 127 | .remove = __devexit_p(s3c24xx_serial_remove), |
| 128 | .driver = { | 128 | .driver = { |
| @@ -131,16 +131,16 @@ static struct platform_driver s3c6400_serial_drv = { | |||
| 131 | }, | 131 | }, |
| 132 | }; | 132 | }; |
| 133 | 133 | ||
| 134 | s3c24xx_console_init(&s3c6400_serial_drv, &s3c6400_uart_inf); | 134 | s3c24xx_console_init(&s3c6400_serial_driver, &s3c6400_uart_inf); |
| 135 | 135 | ||
| 136 | static int __init s3c6400_serial_init(void) | 136 | static int __init s3c6400_serial_init(void) |
| 137 | { | 137 | { |
| 138 | return s3c24xx_serial_init(&s3c6400_serial_drv, &s3c6400_uart_inf); | 138 | return s3c24xx_serial_init(&s3c6400_serial_driver, &s3c6400_uart_inf); |
| 139 | } | 139 | } |
| 140 | 140 | ||
| 141 | static void __exit s3c6400_serial_exit(void) | 141 | static void __exit s3c6400_serial_exit(void) |
| 142 | { | 142 | { |
| 143 | platform_driver_unregister(&s3c6400_serial_drv); | 143 | platform_driver_unregister(&s3c6400_serial_driver); |
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | module_init(s3c6400_serial_init); | 146 | module_init(s3c6400_serial_init); |
diff --git a/drivers/serial/serial_ks8695.c b/drivers/serial/serial_ks8695.c index 998e89dc5aaf..e0665630e4da 100644 --- a/drivers/serial/serial_ks8695.c +++ b/drivers/serial/serial_ks8695.c | |||
| @@ -549,7 +549,7 @@ static struct uart_port ks8695uart_ports[SERIAL_KS8695_NR] = { | |||
| 549 | .mapbase = KS8695_UART_VA, | 549 | .mapbase = KS8695_UART_VA, |
| 550 | .iotype = SERIAL_IO_MEM, | 550 | .iotype = SERIAL_IO_MEM, |
| 551 | .irq = KS8695_IRQ_UART_TX, | 551 | .irq = KS8695_IRQ_UART_TX, |
| 552 | .uartclk = CLOCK_TICK_RATE * 16, | 552 | .uartclk = KS8695_CLOCK_RATE * 16, |
| 553 | .fifosize = 16, | 553 | .fifosize = 16, |
| 554 | .ops = &ks8695uart_pops, | 554 | .ops = &ks8695uart_pops, |
| 555 | .flags = ASYNC_BOOT_AUTOCONF, | 555 | .flags = ASYNC_BOOT_AUTOCONF, |
diff --git a/drivers/watchdog/ks8695_wdt.c b/drivers/watchdog/ks8695_wdt.c index 00b03eb43bf0..e1c82769b08e 100644 --- a/drivers/watchdog/ks8695_wdt.c +++ b/drivers/watchdog/ks8695_wdt.c | |||
| @@ -66,7 +66,7 @@ static inline void ks8695_wdt_stop(void) | |||
| 66 | static inline void ks8695_wdt_start(void) | 66 | static inline void ks8695_wdt_start(void) |
| 67 | { | 67 | { |
| 68 | unsigned long tmcon; | 68 | unsigned long tmcon; |
| 69 | unsigned long tval = wdt_time * CLOCK_TICK_RATE; | 69 | unsigned long tval = wdt_time * KS8695_CLOCK_RATE; |
| 70 | 70 | ||
| 71 | spin_lock(&ks8695_lock); | 71 | spin_lock(&ks8695_lock); |
| 72 | /* disable timer0 */ | 72 | /* disable timer0 */ |
| @@ -103,7 +103,7 @@ static inline void ks8695_wdt_reload(void) | |||
| 103 | static int ks8695_wdt_settimeout(int new_time) | 103 | static int ks8695_wdt_settimeout(int new_time) |
| 104 | { | 104 | { |
| 105 | /* | 105 | /* |
| 106 | * All counting occurs at SLOW_CLOCK / 128 = 0.256 Hz | 106 | * All counting occurs at KS8695_CLOCK_RATE / 128 = 0.256 Hz |
| 107 | * | 107 | * |
| 108 | * Since WDV is a 16-bit counter, the maximum period is | 108 | * Since WDV is a 16-bit counter, the maximum period is |
| 109 | * 65536 / 0.256 = 256 seconds. | 109 | * 65536 / 0.256 = 256 seconds. |
