From: Arnd Bergmann Date: Thu, 13 Mar 2014 10:31:41 +0000 (+0100) Subject: Bluetooth: make sure 6LOWPAN_IPHC is built-in if needed X-Git-Tag: v3.15-rc1~113^2~93^2^2~4^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52d3ef5c2537d1b892d5fefff754b995394d7be3;p=pandora-kernel.git Bluetooth: make sure 6LOWPAN_IPHC is built-in if needed Commit 975508879 "Bluetooth: make bluetooth 6lowpan as an option" ensures that 6LOWPAN_IPHC is turned on when we have BT_6LOWPAN enabled in Kconfig, but it allows building the IPHC code as a loadable module even if the entire Bluetooth stack is built-in, and that causes a link error. We can solve that by moving the 'select' statement into CONFIG_BT, which is a "tristate" option to enforce that 6LOWPAN_IPHC can only be a module if BT also is a module. Signed-off-by: Arnd Bergmann Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed