Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a005d59 authored by Geoff Darst's avatar Geoff Darst Committed by Greg Kroah-Hartman
Browse files

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: default avatarGeoff Darst <geoffda@comcast.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3ec16e93
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ struct dsp_file_hdr {
	u32  version_data_offset;	/* Offset were scrambled version data begins. */
	u32  version_data_size;	/* Size, in words, of scrambled version data. */
	u32  nDspImages;	/* Number of DSP images in file. */
} __attribute__ ((packed));
} __packed;

struct dsp_image_info {
	u32  coff_date;		/* Date/time when DSP Coff image was built. */
@@ -112,7 +112,7 @@ struct dsp_image_info {
	u32  version;		/* Embedded version # of DSP code. */
	unsigned short checksum;	/* Dsp File checksum */
	unsigned short pad1;
} __attribute__ ((packed));
} __packed;

void card_bootload(struct net_device *dev)
{