diff options
author | Vatika Harlalka <vatikaharlalka@gmail.com> | 2015-02-17 20:20:54 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-24 15:28:35 -0800 |
commit | ce5aebd67848fd319c61cfa5248be4a0ec5646c7 (patch) | |
tree | aefb9d8cd38dd547f458e03f0eeb3aaf856e9efd /drivers/staging/emxx_udc | |
parent | 4a0721bf84da588bec013220f74563add71c0bbe (diff) | |
download | linux-ce5aebd67848fd319c61cfa5248be4a0ec5646c7.tar.gz linux-ce5aebd67848fd319c61cfa5248be4a0ec5646c7.tar.bz2 linux-ce5aebd67848fd319c61cfa5248be4a0ec5646c7.zip |
Staging: emxx_udc: Convert from __attribute__((aligned(size))) to __aligned(size)
This patch addresses the checkpatch.pl warning
WARNING: __aligned(size) is preferred over __attribute__((aligned(size)))
aligned(x) is a macro :
#define __aligned(x) __attribute__((aligned(x)))
Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/emxx_udc')
-rw-r--r-- | drivers/staging/emxx_udc/emxx_udc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/emxx_udc/emxx_udc.h b/drivers/staging/emxx_udc/emxx_udc.h index 202e2dc72bba..6f90d5e3cd25 100644 --- a/drivers/staging/emxx_udc/emxx_udc.h +++ b/drivers/staging/emxx_udc/emxx_udc.h @@ -535,7 +535,7 @@ typedef struct _T_FC_REGS { u8 Reserved1200[0x1000-0x200]; /* Reserved */ -} __attribute__ ((aligned(32))) T_FC_REGS, *PT_FC_REGS; +} __aligned(32) T_FC_REGS, *PT_FC_REGS; |