diff options
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/amba-pl010.c | 2 | ||||
-rw-r--r-- | drivers/serial/amba-pl011.c | 2 | ||||
-rw-r--r-- | drivers/serial/pxa.c | 2 | ||||
-rw-r--r-- | drivers/serial/serial_lh7a40x.c | 3 |
4 files changed, 5 insertions, 4 deletions
diff --git a/drivers/serial/amba-pl010.c b/drivers/serial/amba-pl010.c index 71562689116..e3a5ad5ef1d 100644 --- a/drivers/serial/amba-pl010.c +++ b/drivers/serial/amba-pl010.c | |||
@@ -692,7 +692,7 @@ static int pl010_probe(struct amba_device *dev, void *id) | |||
692 | goto free; | 692 | goto free; |
693 | } | 693 | } |
694 | 694 | ||
695 | uap->clk = clk_get(&dev->dev, "UARTCLK"); | 695 | uap->clk = clk_get(&dev->dev, NULL); |
696 | if (IS_ERR(uap->clk)) { | 696 | if (IS_ERR(uap->clk)) { |
697 | ret = PTR_ERR(uap->clk); | 697 | ret = PTR_ERR(uap->clk); |
698 | goto unmap; | 698 | goto unmap; |
diff --git a/drivers/serial/amba-pl011.c b/drivers/serial/amba-pl011.c index b7180046f8d..8b2b9700f3e 100644 --- a/drivers/serial/amba-pl011.c +++ b/drivers/serial/amba-pl011.c | |||
@@ -756,7 +756,7 @@ static int pl011_probe(struct amba_device *dev, void *id) | |||
756 | goto free; | 756 | goto free; |
757 | } | 757 | } |
758 | 758 | ||
759 | uap->clk = clk_get(&dev->dev, "UARTCLK"); | 759 | uap->clk = clk_get(&dev->dev, NULL); |
760 | if (IS_ERR(uap->clk)) { | 760 | if (IS_ERR(uap->clk)) { |
761 | ret = PTR_ERR(uap->clk); | 761 | ret = PTR_ERR(uap->clk); |
762 | goto unmap; | 762 | goto unmap; |
diff --git a/drivers/serial/pxa.c b/drivers/serial/pxa.c index a793d1fa1cd..f6e3b86bb0b 100644 --- a/drivers/serial/pxa.c +++ b/drivers/serial/pxa.c | |||
@@ -767,7 +767,7 @@ static int serial_pxa_probe(struct platform_device *dev) | |||
767 | if (!sport) | 767 | if (!sport) |
768 | return -ENOMEM; | 768 | return -ENOMEM; |
769 | 769 | ||
770 | sport->clk = clk_get(&dev->dev, "UARTCLK"); | 770 | sport->clk = clk_get(&dev->dev, NULL); |
771 | if (IS_ERR(sport->clk)) { | 771 | if (IS_ERR(sport->clk)) { |
772 | ret = PTR_ERR(sport->clk); | 772 | ret = PTR_ERR(sport->clk); |
773 | goto err_free; | 773 | goto err_free; |
diff --git a/drivers/serial/serial_lh7a40x.c b/drivers/serial/serial_lh7a40x.c index 61dc8b3daa2..a7bf024a828 100644 --- a/drivers/serial/serial_lh7a40x.c +++ b/drivers/serial/serial_lh7a40x.c | |||
@@ -41,9 +41,10 @@ | |||
41 | #include <linux/tty_flip.h> | 41 | #include <linux/tty_flip.h> |
42 | #include <linux/serial_core.h> | 42 | #include <linux/serial_core.h> |
43 | #include <linux/serial.h> | 43 | #include <linux/serial.h> |
44 | #include <linux/io.h> | ||
44 | 45 | ||
45 | #include <asm/io.h> | ||
46 | #include <asm/irq.h> | 46 | #include <asm/irq.h> |
47 | #include <mach/hardware.h> | ||
47 | 48 | ||
48 | #define DEV_MAJOR 204 | 49 | #define DEV_MAJOR 204 |
49 | #define DEV_MINOR 16 | 50 | #define DEV_MINOR 16 |