diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-25 12:06:06 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-02-04 17:16:32 +0100 |
commit | 501e8a7e7103ae7aad2cab8888be02a06889e2c2 (patch) | |
tree | 73506117ace58c95886a7633e3265f9f2345ab0b /firmware/target/arm/imx233/button-imx233.h | |
parent | 96a7603bf9e930a715f7bbb50929975d8d184419 (diff) | |
download | rockbox-501e8a7e7103ae7aad2cab8888be02a06889e2c2.tar.gz rockbox-501e8a7e7103ae7aad2cab8888be02a06889e2c2.zip |
imx233: remove weak attribute on some functions
This feature was never used and it is not even working because weak linking
doesn't work in-between files in a library.
Change-Id: I389ea5f17be1d9db0e2150828d704be5a091e09d
Diffstat (limited to 'firmware/target/arm/imx233/button-imx233.h')
-rw-r--r-- | firmware/target/arm/imx233/button-imx233.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/imx233/button-imx233.h b/firmware/target/arm/imx233/button-imx233.h index 9e244e01ac..33e15a2a97 100644 --- a/firmware/target/arm/imx233/button-imx233.h +++ b/firmware/target/arm/imx233/button-imx233.h | |||
@@ -160,8 +160,8 @@ struct imx233_button_map_t | |||
160 | * - last entry: | 160 | * - last entry: |
161 | * IMX233_BUTTON_(END, END(), "") | 161 | * IMX233_BUTTON_(END, END(), "") |
162 | * | 162 | * |
163 | * The driver also provides default implementations for headphones_inserted() | 163 | * The driver also provides an implementations for headphones_inserted() |
164 | * and button_hold() which can be overriden since they have weak linkage. | 164 | * and button_hold() using the table information. |
165 | * | 165 | * |
166 | * The button-target.h header can also define IMX233_BUTTON_LRADC_MARGIN | 166 | * The button-target.h header can also define IMX233_BUTTON_LRADC_MARGIN |
167 | * to control the error margin allowed for button using LRADC. The default | 167 | * to control the error margin allowed for button using LRADC. The default |
@@ -193,4 +193,4 @@ bool imx233_button_read_btn(int idx); | |||
193 | * Argument is an index into the imx233_button_map table */ | 193 | * Argument is an index into the imx233_button_map table */ |
194 | int imx233_button_read_raw(int idx); | 194 | int imx233_button_read_raw(int idx); |
195 | 195 | ||
196 | #endif /* __button_imx233__ */ \ No newline at end of file | 196 | #endif /* __button_imx233__ */ |