summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192u/r819xU_phy.h
diff options
context:
space:
mode:
authorXenia Ragiadakou <burzalodowa@gmail.com>2013-10-10 10:43:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-11 15:42:54 -0700
commit889cfe2f03b2a76dd850a31b4031405941b7a551 (patch)
tree8fe1022104f45e3f43724007dc2fdfdd052e45ab /drivers/staging/rtl8192u/r819xU_phy.h
parentf96f8df28c92ac212541ff434f15381abd0d01c5 (diff)
staging: rtl8192u: use __packed instead of __attribute__((packed))
This patch fixes the following checkpatch warning: WARNING: __packed is preferred over __attribute__((packed)) Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r819xU_phy.h')
-rw-r--r--drivers/staging/rtl8192u/r819xU_phy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_phy.h b/drivers/staging/rtl8192u/r819xU_phy.h
index f3c352a10fe0..66cbe3f9cafd 100644
--- a/drivers/staging/rtl8192u/r819xU_phy.h
+++ b/drivers/staging/rtl8192u/r819xU_phy.h
@@ -23,7 +23,7 @@ typedef struct _SwChnlCmd {
u32 Para1;
u32 Para2;
u32 msDelay;
-} __attribute__ ((packed)) SwChnlCmd;
+} __packed SwChnlCmd;
extern u32 rtl819XMACPHY_Array_PG[];
extern u32 rtl819XPHY_REG_1T2RArray[];