ANDROID: GKI: preserve CRC generation for some bluetooth symbols

In commit 76dd7893bd ("Bluetooth: hci_bcm: Fall back to getting bdaddr
from EFI if not set"), a "#include <linux/efi.h>" was added which caused
the CRC generation of some bluetooth symbols to be modified due to some
structures now coming into "scope".

Fix this up by hacking in our favorite __GENKSYMS__ test, which fixes
everything up right and all is calm again.

Bug: 161946584
Fixes: 76dd7893bd ("Bluetooth: hci_bcm: Fall back to getting bdaddr from EFI if not set")
Change-Id: I5ddb1d3895f079980c3efd64ae773b91da3ca809
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2023-06-13 19:07:10 +00:00
parent 907f29932c
commit 83377b0a3f

View File

@ -6,7 +6,9 @@
* Copyright (C) 2015 Intel Corporation
*/
#ifndef __GENKSYMS__ // ANDROID CRC kabi preservation hack due to commit 76dd7893bd10
#include <linux/efi.h>
#endif
#include <linux/module.h>
#include <linux/firmware.h>
#include <linux/dmi.h>