From 553d00bdb4e55fdfc5cc75772f686e20cd764c3e Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Mon, 31 Jul 2017 11:01:00 -0700 Subject: driver: Move PI3USB9281 to bc12 directory. The primary purpose of the Pericom PI3USB9281 is for BC1.2 detection. Therefore, move the driver to the bc12/ directory. Additonally, rename the config option to match. CONFIG_USB_SWITCH_PI3USB9281 => CONFIG_BC12_DETECT_PI3USB9281 BUG=None BRANCH=None TEST=`make -j buildall` Change-Id: I02f17064c0625e62d6779f895e69899c24898f74 Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/594710 Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Shawn N --- board/strago/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/strago/board.c') diff --git a/board/strago/board.c b/board/strago/board.c index 7f45ba6661..b2559b47ff 100644 --- a/board/strago/board.c +++ b/board/strago/board.c @@ -130,7 +130,7 @@ struct pi3usb9281_config pi3usb9281_chips[] = { }, }; BUILD_ASSERT(ARRAY_SIZE(pi3usb9281_chips) == - CONFIG_USB_SWITCH_PI3USB9281_CHIP_COUNT); + CONFIG_BC12_DETECT_PI3USB9281_CHIP_COUNT); struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_COUNT] = { { -- cgit v1.2.1