aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-10-11 15:46:21 +0200
committerMarcel Holtmann <[email protected]>2017-10-11 20:09:37 +0200
commit81a1905382a380beeba201ce41276afd9035dc64 (patch)
treeca5d1786297dd296ff951d9098e5a4274ba9ab55 /net/unix/af_unix.c
parent18a39b9ab27026b5ba55f135648635ed3a870e44 (diff)
Bluetooth: hci_bcm: fix build error without CONFIG_PM
This was introduced by the rework adding PM support: drivers/bluetooth/hci_bcm.c: In function 'bcm_device_exists': drivers/bluetooth/hci_bcm.c:156:22: error: 'struct bcm_device' has no member named 'hu' if (device && device->hu && device->hu->serdev) ^~ The pointer is not available otherwise, so I'm enclosing all references in an #ifdef here. Fixes: 8a92056837fd ("Bluetooth: hci_bcm: Add (runtime)pm support to the serdev driver") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions