aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/bcm
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2013-01-04 23:35:05 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 10:57:51 -0800
commit34bb72b67496ebb9510720a1b9d7663eed1e4116 (patch)
treea530597ba3ba7c752a88d57602d6f750fda4ec3e /drivers/staging/bcm
parent27bc7b2be29441868d8acd5022794339c752dbea (diff)
Staging: bcm: Fix warning: "__packed is preferred over __attribute__((packed))" in Debug.h
This patch fixes the following warning: "__packed is preferred over __attribute__((packed))" as reported by checkpatch.pl. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r--drivers/staging/bcm/Debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/bcm/Debug.h b/drivers/staging/bcm/Debug.h
index b4ff00081cf..7a66219a8f4 100644
--- a/drivers/staging/bcm/Debug.h
+++ b/drivers/staging/bcm/Debug.h
@@ -175,7 +175,7 @@ typedef struct {
unsigned int Subtype, Type;
unsigned int OnOff;
/* unsigned int debug_level; future expansion */
-} __attribute__((packed)) USER_BCM_DBG_STATE;
+} __packed USER_BCM_DBG_STATE;
/* ---Kernel-space mapping of Debug State */
typedef struct _S_BCM_DEBUG_STATE {