soc: bcm: raspberrypi-power: Fix use of __packed
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 1 Apr 2018 16:42:25 +0000 (09:42 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 16 Apr 2018 22:15:23 +0000 (15:15 -0700)
Commit a09cd356586d ("ARM: bcm2835: add rpi power domain driver")
attempted to annotate the structure rpi_power_domain_packet with
__packed but introduced a typo and made it named __packet instead. Just
drop the annotation since the structure is naturally aligned already.

Fixes: a09cd356586d ("ARM: bcm2835: add rpi power domain driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/soc/bcm/raspberrypi-power.c

index fe96a8b..f7ed118 100644 (file)
@@ -45,7 +45,7 @@ struct rpi_power_domains {
 struct rpi_power_domain_packet {
        u32 domain;
        u32 on;
-} __packet;
+};
 
 /*
  * Asks the firmware to enable or disable power on a specific power