aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Darst <geoffda@comcast.net>2014-11-29 15:17:22 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-12-02 19:48:10 -0500
commit0a005d59c04551bfdcc53b2a71473d603d62d066 (patch)
tree24435a41f73322dde3d65ba895574a65856435ec
parent3ec16e93d84333c52527042ea5f5911bc8c2591e (diff)
staging: ft1000 : replace __attribute ((__packed__) with __packed
Replace two instances of __attribute ((__packed__) with __packed macro to address the warning found by the checkpatch.pl tool. Signed-off-by: Geoff Darst <geoffda@comcast.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c
index 115005061765..06b0e9cfb9b1 100644
--- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c
+++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c
@@ -101,7 +101,7 @@ struct dsp_file_hdr {
101 u32 version_data_offset; /* Offset were scrambled version data begins. */ 101 u32 version_data_offset; /* Offset were scrambled version data begins. */
102 u32 version_data_size; /* Size, in words, of scrambled version data. */ 102 u32 version_data_size; /* Size, in words, of scrambled version data. */
103 u32 nDspImages; /* Number of DSP images in file. */ 103 u32 nDspImages; /* Number of DSP images in file. */
104} __attribute__ ((packed)); 104} __packed;
105 105
106struct dsp_image_info { 106struct dsp_image_info {
107 u32 coff_date; /* Date/time when DSP Coff image was built. */ 107 u32 coff_date; /* Date/time when DSP Coff image was built. */
@@ -112,7 +112,7 @@ struct dsp_image_info {
112 u32 version; /* Embedded version # of DSP code. */ 112 u32 version; /* Embedded version # of DSP code. */
113 unsigned short checksum; /* Dsp File checksum */ 113 unsigned short checksum; /* Dsp File checksum */
114 unsigned short pad1; 114 unsigned short pad1;
115} __attribute__ ((packed)); 115} __packed;
116 116
117void card_bootload(struct net_device *dev) 117void card_bootload(struct net_device *dev)
118{ 118{