Skip to content

Commit

Permalink
soc: bcm: raspberrypi-power: Fix use of __packed
Browse files Browse the repository at this point in the history
Commit a09cd35 ("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: a09cd35 ("ARM: bcm2835: add rpi power domain driver")
Signed-off-by: Florian Fainelli <[email protected]>
  • Loading branch information
ffainelli committed Apr 16, 2018
1 parent 60cc43f commit 0a12e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/soc/bcm/raspberrypi-power.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a12e80

Please sign in to comment.