Commit 30504373 authored by Florian Fainelli's avatar Florian Fainelli Committed by Greg Kroah-Hartman

soc: bcm: raspberrypi-power: Fix use of __packed

[ Upstream commit 0a12e80c ]

Commit a09cd356 ("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: a09cd356 ("ARM: bcm2835: add rpi power domain driver")
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d066fd9d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment