提交 0a12e80c 编写于 作者: F Florian Fainelli

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

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: NFlorian Fainelli <f.fainelli@gmail.com>
上级 60cc43fc
...@@ -45,7 +45,7 @@ struct rpi_power_domains { ...@@ -45,7 +45,7 @@ struct rpi_power_domains {
struct rpi_power_domain_packet { struct rpi_power_domain_packet {
u32 domain; u32 domain;
u32 on; u32 on;
} __packet; };
/* /*
* Asks the firmware to enable or disable power on a specific power * Asks the firmware to enable or disable power on a specific power
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册