/*1BlueZ - Bluetooth protocol stack for Linux2Copyright (C) 2014 Intel Corporation34This program is free software; you can redistribute it and/or modify5it under the terms of the GNU General Public License version 2 as6published by the Free Software Foundation;78THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS9OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,10FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.11IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) AND AUTHOR(S) BE LIABLE FOR ANY12CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES13WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN14ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF15OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.1617ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PATENTS,18COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS19SOFTWARE IS DISCLAIMED.20*/2122#if IS_ENABLED(CONFIG_BT_SELFTEST) && IS_MODULE(CONFIG_BT)2324/* When CONFIG_BT_SELFTEST=y and the CONFIG_BT=m, then the self testing25* is run at module loading time.26*/27int bt_selftest(void);2829#else3031/* When CONFIG_BT_SELFTEST=y and CONFIG_BT=y, then the self testing32* is run via late_initcall() to make sure that subsys_initcall() of33* the Bluetooth subsystem and device_initcall() of the Crypto subsystem34* do not clash.35*36* When CONFIG_BT_SELFTEST=n, then this turns into an empty call that37* has no impact.38*/39static inline int bt_selftest(void)40{41return 0;42}4344#endif454647