projects
/
GitHub
/
LineageOS
/
android_device_samsung_a7xelte.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f138460
)
a7xelte: Pack tfa struct
author
Christopher N. Hesse
<raymanfx@gmail.com>
Wed, 18 Jul 2018 08:21:57 +0000
(10:21 +0200)
committer
Sourajit Karmakar
<sourajit.karmakar@gmail.com>
Tue, 7 Jul 2020 14:51:29 +0000
(10:51 -0400)
Discard any possible padding since all we want to do is have a linear
data container.
Change-Id: Ieb308874f83990c77adc26cfedf4d72ab78023ac
amplifier/tfa.h
patch
|
blob
|
blame
|
history
diff --git
a/amplifier/tfa.h
b/amplifier/tfa.h
index 13c9518b7cb96460137cee1bbedfea7de5a6ce95..d9b471e249ef52ca67a35319b574ed460cd51f24 100644
(file)
--- a/
amplifier/tfa.h
+++ b/
amplifier/tfa.h
@@
-41,7
+41,7
@@
typedef enum {
typedef struct {
volatile int a1;
volatile unsigned char a2[500];
-} tfa_handle_t;
+}
__attribute__((packed))
tfa_handle_t;
/*
* Vendor functions that we dlsym.