From 77eea3dd66cc47554bd7e9269975e91fe73f8b75 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 15 Dec 2019 17:51:46 -0600 Subject: [PATCH] boards/arm/am335x/beaglebone-black/src/am335x_bringup.c: CAN0 and CAN1 reversed in one place. Spotted by Alan Carvahlo de Assis. --- boards/arm/am335x/beaglebone-black/src/am335x_bringup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/arm/am335x/beaglebone-black/src/am335x_bringup.c b/boards/arm/am335x/beaglebone-black/src/am335x_bringup.c index ebfea39d73..71b0e39b83 100644 --- a/boards/arm/am335x/beaglebone-black/src/am335x_bringup.c +++ b/boards/arm/am335x/beaglebone-black/src/am335x_bringup.c @@ -111,9 +111,9 @@ static void am335x_can_register(void) else { #ifdef CONFIG_AM335X_CAN0 - ret = can_register("/dev/can1", can); -#else ret = can_register("/dev/can0", can); +#else + ret = can_register("/dev/can1", can); #endif if (ret < 0) {