Commit aa059b30 authored by Sabitha George's avatar Sabitha George Committed by Greg Kroah-Hartman

staging: ks7010: Replace __attribute__(aligned(x)) with __aligned(x)

Fixes checkpatch.pl warning: __aligned(size) is preferred over
__attribute__((aligned(size)) in ks7010_sdio.h
Signed-off-by: default avatarSabitha George <sabitha.george@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aa1eecdc
...@@ -100,7 +100,7 @@ struct hw_info_t { ...@@ -100,7 +100,7 @@ struct hw_info_t {
struct ks_sdio_packet { struct ks_sdio_packet {
struct ks_sdio_packet *next; struct ks_sdio_packet *next;
u16 nb; u16 nb;
u8 buffer[0] __attribute__ ((aligned(4))); u8 buffer[0] __aligned(4);
}; };
struct ks_sdio_card { struct ks_sdio_card {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment