Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -500,7 +500,7 @@ static struct uart_driver mlb_usio_uart_driver = {

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 resource *res;
	int index = 0;