It's only used when CONFIG_BT is set, so it should only be defined then.