Return-Path: MIME-Version: 1.0 In-Reply-To: References: <20180611115240.32606-1-ricardo.ribalda@gmail.com> <20180611115240.32606-12-ricardo.ribalda@gmail.com> From: Andy Shevchenko Date: Mon, 11 Jun 2018 16:31:08 +0300 Message-ID: Subject: Re: [PATCH v2 11/24] Bluetooth: hci_bcm: MODULE_DEVICE_TABLE(serdev) To: Marcel Holtmann Cc: Ricardo Ribalda Delgado , Linux Kernel Mailing List , "open list:SERIAL DRIVERS" , Johan Hedberg , Rob Herring , Johan Hovold , linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" List-ID: On Mon, Jun 11, 2018 at 3:59 PM, Marcel Holtmann wrot= e: > Hi Ricardo, > >> Export serdev table to the module header, allowing module autoload via >> udev/modprobe. >> static const struct serdev_device_id bcm_serdev_id[] =3D { >> { "bcm43438-bt", }, >> + { "hci_uart_bcm", }, >> {} >> }; >> +MODULE_DEVICE_TABLE(serdev, bcm_serdev_id); > > so this one I can see real use of and is a good fix to finally clean up h= ci_bcm.c and remove platform support for the Edison hardware. However, I wo= uld really then first rename hci_uart_bcm into some Edison specific string = since this is really just one outlier here. Or other way around, hack arch/x86/platform/intel-mid/device_libs/platform_bt.c to be compatible with these changes (Dunno if it's possible). --=20 With Best Regards, Andy Shevchenko