diff options
Diffstat (limited to 'drivers/tty/serial/max310x.c')
-rw-r--r-- | drivers/tty/serial/max310x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index a332327163a3..88a227f9fe8c 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c | |||
@@ -378,7 +378,7 @@ static void max310x_wait_pll(struct max310x_port *s) | |||
378 | } | 378 | } |
379 | } | 379 | } |
380 | 380 | ||
381 | static int __devinit max310x_update_best_err(unsigned long f, long *besterr) | 381 | static int max310x_update_best_err(unsigned long f, long *besterr) |
382 | { | 382 | { |
383 | /* Use baudrate 115200 for calculate error */ | 383 | /* Use baudrate 115200 for calculate error */ |
384 | long err = f % (115200 * 16); | 384 | long err = f % (115200 * 16); |
@@ -391,7 +391,7 @@ static int __devinit max310x_update_best_err(unsigned long f, long *besterr) | |||
391 | return 1; | 391 | return 1; |
392 | } | 392 | } |
393 | 393 | ||
394 | static int __devinit max310x_set_ref_clk(struct max310x_port *s) | 394 | static int max310x_set_ref_clk(struct max310x_port *s) |
395 | { | 395 | { |
396 | unsigned int div, clksrc, pllcfg = 0; | 396 | unsigned int div, clksrc, pllcfg = 0; |
397 | long besterr = -1; | 397 | long besterr = -1; |
@@ -995,7 +995,7 @@ static struct max310x_pdata generic_plat_data = { | |||
995 | .frequency = 26000000, | 995 | .frequency = 26000000, |
996 | }; | 996 | }; |
997 | 997 | ||
998 | static int __devinit max310x_probe(struct spi_device *spi) | 998 | static int max310x_probe(struct spi_device *spi) |
999 | { | 999 | { |
1000 | struct max310x_port *s; | 1000 | struct max310x_port *s; |
1001 | struct device *dev = &spi->dev; | 1001 | struct device *dev = &spi->dev; |