[v2,OPW,kernel] staging: emxx_udc: Convert from __attribute__((aligned(size))) to __aligned(size)
diff mbox

Message ID 1422736724-5399-1-git-send-email-navyasri.tech@gmail.com
State New, archived
Headers show

Commit Message

scarlet-erza Jan. 31, 2015, 8:38 p.m. UTC
From: Navya Sri Nizamkari <navyasri.tech@gmail.com>

This fixes the following checkpatch.pl warnings:

WARNING: __aligned(size) is preferred over __attribute__((aligned(size)))

Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
---
Changes in v2:
   -Changed subject line.
   -Updated author name to real name.
   -Changed description.

 drivers/staging/emxx_udc/emxx_udc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

diff --git a/drivers/staging/emxx_udc/emxx_udc.h b/drivers/staging/emxx_udc/emxx_udc.h
index ee1b80d..2ac216f 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;