Commit 6bc3703d authored by Sugaya Taichi's avatar Sugaya Taichi Committed by Greg Kroah-Hartman

serial: Fix using plain integer instead of Null pointer

Fix build warning that using plain integer as Null pointer.
This is reported by kbuild test robot.

Fixes: ba44dc04 ("serial: Add Milbeaut serial control")
Signed-off-by: default avatarSugaya Taichi <sugaya.taichi@socionext.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3b8a1f45
...@@ -500,7 +500,7 @@ static struct uart_driver mlb_usio_uart_driver = { ...@@ -500,7 +500,7 @@ static struct uart_driver mlb_usio_uart_driver = {
static int mlb_usio_probe(struct platform_device *pdev) static int mlb_usio_probe(struct platform_device *pdev)
{ {
struct clk *clk = devm_clk_get(&pdev->dev, 0); struct clk *clk = devm_clk_get(&pdev->dev, NULL);
struct uart_port *port; struct uart_port *port;
struct resource *res; struct resource *res;
int index = 0; int index = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment