Skip to content

Commit 6604269

Browse files
committed
Merge branch 'clksrc/cleanup' into next/multiplatform
Merge in the clksrc/cleanup branch to avoid a silly merge conflict. For some reason two versions of the same patch were merged in two branches. Resolve this here to avoid merge conflicts down the road, since it can be confusing to tell which version is the one to keep. * clksrc/cleanup: clocksource: make CLOCKSOURCE_OF_DECLARE type safe Signed-off-by: Olof Johansson <olof@lixom.net> Conflicts: include/linux/clocksource.h
2 parents ea7113f + 3d5a965 commit 6604269

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/clocksource.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ extern void clocksource_of_init(void);
346346
static inline void clocksource_of_init(void) {}
347347
#define CLOCKSOURCE_OF_DECLARE(name, compat, fn) \
348348
static const struct of_device_id __clksrc_of_table_##name \
349-
__unused __section(__clksrc_of_table) \
349+
__attribute__((unused)) \
350350
= { .compatible = compat, \
351351
.data = (fn == (clocksource_of_init_fn)NULL) ? fn : fn }
352352
#endif

0 commit comments

Comments
 (0)