Re: [PATCH] Bluetooth: btintel: fix warning

From: Marcel Holtmann
Date: Fri Sep 04 2015 - 11:26:26 EST


Hi Vincent,

> Fix compilation the following compilation warning, which happens when
> CONFIG_BT_INTEL is not set:
>
> drivers/bluetooth/btintel.h:98:13: warning: âbtintel_version_infoâ
> defined but not used [-Wunused-function]
> static void btintel_version_info(struct hci_dev *hdev,
> struct intel_version *ver)
> ^
>
> Signed-off-by: Vincent Stehlà <vincent.stehle@xxxxxxxxxxx>
> Cc: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> Cc: trivial@xxxxxxxxxx
> ---
>
>
> Hi,
>
> This warning can be seen with e.g. ARM imx_v6_v7_defconfig.
>
> Best regards,
>
> V.
>
>
> drivers/bluetooth/btintel.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/