projects
/
GitHub
/
LineageOS
/
android_device_samsung_a5xelte.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb958e0
)
a5xelte: Pack tfa struct
author
Christopher N. Hesse
<raymanfx@gmail.com>
Wed, 18 Jul 2018 08:21:57 +0000
(10:21 +0200)
committer
Jan Altensen
<info@stricted.net>
Mon, 12 Aug 2019 07:12:09 +0000
(09:12 +0200)
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.