mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
remove __attribute_used__
Remove the deprecated __attribute_used__. [Introduce __section in a few places to silence checkpatch /sam] Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
bc395add94
commit
3ff6eecca4
22 changed files with 41 additions and 50 deletions
|
@ -7,10 +7,8 @@
|
|||
|
||||
#if __GNUC_MINOR__ >= 3
|
||||
# define __used __attribute__((__used__))
|
||||
# define __attribute_used__ __used /* deprecated */
|
||||
#else
|
||||
# define __used __attribute__((__unused__))
|
||||
# define __attribute_used__ __used /* deprecated */
|
||||
#endif
|
||||
|
||||
#if __GNUC_MINOR__ >= 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue