On Mon, Jul 30, 2018 at 1:06 PM, Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote: > I guess you are looking something like below with corresponding header > that provides stubs in case it's not enabled. > > depends on CHARGER_BQ24190=y || (CHARGER_BQ24190=m && m) I can make config HID_ASUS depends on ASUS_WMI=y || (ASUS_WMI=m && m) and the corner case you raise (HID_ASUS=y and ASUS_WMI=m) can not be selected. And there is no need to add any stub headers as far as I can see, but I must admit I still don't understand why this type of dependency statement is preferred over a simple "depends on ASUS_WMI". Am I missing something? Thanks Daniel