diff options
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
| -rw-r--r-- | arch/arm/mach-omap2/serial.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index e1bd46a96e11..24dd374224af 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
| @@ -119,14 +119,14 @@ void __init omap_serial_init() | |||
| 119 | if (IS_ERR(uart1_ick)) | 119 | if (IS_ERR(uart1_ick)) |
| 120 | printk("Could not get uart1_ick\n"); | 120 | printk("Could not get uart1_ick\n"); |
| 121 | else { | 121 | else { |
| 122 | clk_use(uart1_ick); | 122 | clk_enable(uart1_ick); |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | uart1_fck = clk_get(NULL, "uart1_fck"); | 125 | uart1_fck = clk_get(NULL, "uart1_fck"); |
| 126 | if (IS_ERR(uart1_fck)) | 126 | if (IS_ERR(uart1_fck)) |
| 127 | printk("Could not get uart1_fck\n"); | 127 | printk("Could not get uart1_fck\n"); |
| 128 | else { | 128 | else { |
| 129 | clk_use(uart1_fck); | 129 | clk_enable(uart1_fck); |
| 130 | } | 130 | } |
| 131 | break; | 131 | break; |
| 132 | case 1: | 132 | case 1: |
| @@ -134,14 +134,14 @@ void __init omap_serial_init() | |||
| 134 | if (IS_ERR(uart2_ick)) | 134 | if (IS_ERR(uart2_ick)) |
| 135 | printk("Could not get uart2_ick\n"); | 135 | printk("Could not get uart2_ick\n"); |
| 136 | else { | 136 | else { |
| 137 | clk_use(uart2_ick); | 137 | clk_enable(uart2_ick); |
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | uart2_fck = clk_get(NULL, "uart2_fck"); | 140 | uart2_fck = clk_get(NULL, "uart2_fck"); |
| 141 | if (IS_ERR(uart2_fck)) | 141 | if (IS_ERR(uart2_fck)) |
| 142 | printk("Could not get uart2_fck\n"); | 142 | printk("Could not get uart2_fck\n"); |
| 143 | else { | 143 | else { |
| 144 | clk_use(uart2_fck); | 144 | clk_enable(uart2_fck); |
| 145 | } | 145 | } |
| 146 | break; | 146 | break; |
| 147 | case 2: | 147 | case 2: |
| @@ -149,14 +149,14 @@ void __init omap_serial_init() | |||
| 149 | if (IS_ERR(uart3_ick)) | 149 | if (IS_ERR(uart3_ick)) |
| 150 | printk("Could not get uart3_ick\n"); | 150 | printk("Could not get uart3_ick\n"); |
| 151 | else { | 151 | else { |
| 152 | clk_use(uart3_ick); | 152 | clk_enable(uart3_ick); |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | uart3_fck = clk_get(NULL, "uart3_fck"); | 155 | uart3_fck = clk_get(NULL, "uart3_fck"); |
| 156 | if (IS_ERR(uart3_fck)) | 156 | if (IS_ERR(uart3_fck)) |
| 157 | printk("Could not get uart3_fck\n"); | 157 | printk("Could not get uart3_fck\n"); |
| 158 | else { | 158 | else { |
| 159 | clk_use(uart3_fck); | 159 | clk_enable(uart3_fck); |
| 160 | } | 160 | } |
| 161 | break; | 161 | break; |
| 162 | } | 162 | } |
