]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: ft1000: convert pack pragma to __packed
authorGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Thu, 25 Jun 2015 17:34:43 +0000 (20:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 02:52:39 +0000 (19:52 -0700)
commitf4bf6b343073e32d5cf8fdb0f38192493fcad5c2
treea73f2af4c3716cee7d78c203b7b405f462f28291
parentd4216b30bdd56fb823c1d32b5e46687ae87601f6
staging: ft1000: convert pack pragma to __packed

Convert a Microsoft compiler specific directive "#pragma pack(1)" to a
GCC equivalent __packed. Also, by doing this we save
ourselves from trouble if any other struct definitions are added after
the #pragma because it will be applied to all of the definitions
following it.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-usb/ft1000_download.c