Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751846AbdGHUzO (ORCPT ); Sat, 8 Jul 2017 16:55:14 -0400 Received: from mail-eopbgr50114.outbound.protection.outlook.com ([40.107.5.114]:12096 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750883AbdGHUzM (ORCPT ); Sat, 8 Jul 2017 16:55:12 -0400 Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=axentia.se; Subject: Re: [PATCH v1 1/1] mux: consumer: Add dummy functions for !CONFIG_MULTIPLEXER case To: sathyanarayanan.kuppuswamy@linux.intel.com Cc: linux-kernel@vger.kernel.org, sathyaosid@gmail.com References: From: Peter Rosin Organization: Axentia Technologies AB Message-ID: Date: Sat, 8 Jul 2017 22:55:03 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [81.224.168.30] X-ClientProxiedBy: DB6P193CA0024.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::34) To VI1PR0202MB2558.eurprd02.prod.outlook.com (2603:10a6:801:6::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1849f3e0-f745-481b-e470-08d4c6439e43 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:VI1PR0202MB2558; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0202MB2558;3:IXLnz7qsv7Il8YdC8NL5HaHO2a5+eJuvqSqu5WiNP0KdCLFctOea+NAsCbpc+STiyBYtYXZqNXW2U2Z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rtFLAnZpwSvhPyoiDqJcCGkeZR/xEyfGHbIEaZJylyVh/fMVgyC9+Jl+CjhFVi/nIl7rtyRNnTqTVknpdT0pdDQWRYEbhXjIRF2LLuoLkyQUrcjV74QnvT0UIG6diOMsAN+JqQhs0TRt2z8CoJHgFPt79omvNFFAcAMXSCagzifl15q8nfJ3sJiNuUviVLtr5z2vO05G1h8dLWPiieT3T0lGcH5gnxVVyazT9MSPQCfFhhw50URd+kPx97uXbdN92dbg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123555025)(2016111802025)(20161123560025)(20161123558100)(6072148)(6043046)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:VI1PR0202MB2558;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:VI1PR0202MB2558; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjAyMDJNQjI1NTg7NDpUbndrSWVVd0JtOHhKL1NlSXF3UE5oT0E5?= =?utf-8?B?RDk0SkxBYUVLV29TNGcwZHpxc0NveDh0cFJuSGFsNHRPZ2ZzbVNOM0xiNnhr?= =?utf-8?B?RFZIdm5mdWxYZStWazJXeFRBaE5XcjBWTEhwbUcyV0VqRzRMTVBPWFo3SDl1?= =?utf-8?B?UjVlNW5nbEZxY2NWTUpKVk9YcFFpazRNUStvUUFaVURhWnVsUmNUZjRWMnor?= =?utf-8?B?VXVzbmI1SG92N21LMjBaU21OY05KbEdVbEFVeEdPbnFqSE00SENGeXFpNEpz?= =?ut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1RQ3crcDJM?= =?utf-8?B?eWtwa2JTbExTaUhtRGFJM2VxSi9ZcW1NQWMrcytQNUZKUzJDY3IzdHBrUmYw?= =?utf-8?B?WTF4ejFKNktOV28wcndyWTVYWGVyQmxvbnhmOUVMQ0U1QVByNDk0NkREODV1?= =?utf-8?B?dXlXb3JOak5YdUNEcHBTZjFNZW96YkVpVnV6NWZIUkc2YmIrYVgySnlGWTlQ?= =?utf-8?B?OTFXVmRYVldRQlJGNzhyZ1JEMXBVQ3YrcUNJUWl4cHFMYjRHK2czZm55UXIv?= =?utf-8?B?cEhoL0RHMnlxUFNVcmxndEhtSzRDVitac3hVWUJTV1ZLMlk0R3djK05Ob0tO?= =?utf-8?B?bE9MWFkxNHJ2alJKaG9DdkJFMjE5dkRWdUhaY1M5RVI1bU9tamJldnl4WGNE?= =?utf-8?B?ZE1UMzArb0pUTk9wUXczNVRrQVFPdXdEajJ3UXh3OC9LTnd5a2JYbFArWkhr?= =?utf-8?B?akxnMXEyN0Z5NEdaeEgxanI2RlZyamZjTUhFNE0ydkdiNW9abWI0Z1ZDZE5W?= =?utf-8?Q?htzP1LK8KZc09cGs/kk=3D?= X-Forefront-PRVS: 0362BF9FDB X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(7370300001)(6009001)(6049001)(39400400002)(39410400002)(39450400003)(39830400002)(377424004)(24454002)(7736002)(50466002)(83506001)(6916009)(23676002)(64126003)(305945005)(230700001)(74482002)(6116002)(3846002)(2950100002)(6666003)(4001350100001)(53546010)(478600001)(53936002)(7350300001)(77096006)(31696002)(86362001)(110136004)(6246003)(50986999)(76176999)(189998001)(33646002)(65826007)(31686004)(42186005)(66066001)(54356999)(117156002)(36756003)(8676002)(2906002)(81166006)(47776003)(2351001)(2361001)(5660300001)(4326008)(25786009)(38730400002)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0202MB2558;H:[192.168.13.3];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-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ab5SBXwkKDNZa9j8cyif9cc8jIXAy0dTrI0tfm1vp9j3FsS8+3TbxqVNbSdTkNYSzxATbzUrRrxNSqpUV88W646rfDlS3rvm2F4rnpcsYQti1eE8URuO+Ji60= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2017 20:55:08.0190 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0202MB2558 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2039 Lines: 77 On 2017-07-07 23:41, sathyanarayanan.kuppuswamy@linux.intel.com wrote: > From: Kuppuswamy Sathyanarayanan > > Add dummy functions to avoid compile time issues when CONFIG_MULTIPLEXER > is not enabled. Hi! Consumers should "select MULTIPLEXER", so this does not make sense. Or do you have a driver that has an optional mux consumer? > Signed-off-by: Kuppuswamy Sathyanarayanan > --- > include/linux/mux/consumer.h | 38 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/include/linux/mux/consumer.h b/include/linux/mux/consumer.h > index 5577e1b..744a5b8 100644 > --- a/include/linux/mux/consumer.h > +++ b/include/linux/mux/consumer.h > @@ -16,6 +16,7 @@ > struct device; > struct mux_control; > > +#ifdef CONFIG_MULTIPLEXER > unsigned int mux_control_states(struct mux_control *mux); > int __must_check mux_control_select(struct mux_control *mux, > unsigned int state); > @@ -29,4 +30,41 @@ void mux_control_put(struct mux_control *mux); > struct mux_control *devm_mux_control_get(struct device *dev, > const char *mux_name); > > +#else > +unsigned int mux_control_states(struct mux_control *mux) static inline Cheers, peda > +{ > + return -ENODEV; > +} > + > +int __must_check mux_control_select(struct mux_control *mux, > + unsigned int state) > +{ > + return -ENODEV; > +} > + > +int __must_check mux_control_try_select(struct mux_control *mux, > + unsigned int state) > +{ > + return -ENODEV; > +} > + > +int mux_control_deselect(struct mux_control *mux) > +{ > + return -ENODEV; > +} > + > +struct mux_control *mux_control_get(struct device *dev, const char *mux_name) > +{ > + return ERR_PTR(-ENODEV); > +} > + > +void mux_control_put(struct mux_control *mux) {} > + > +struct mux_control *devm_mux_control_get(struct device *dev, > + const char *mux_name) > +{ > + return ERR_PTR(-ENODEV); > +} > +#endif > + > #endif /* _LINUX_MUX_CONSUMER_H */ >