mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
staging: unisys: visorchipset: Use correct type for dev_no
visorchipset_bus_info.dev_no is only assigned the value of controlvm_message_packet.create_bus.dev_count, which is a u32. No point promoting it to a u64. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Tested-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
52063eca7f
commit
a6e7fe5c04
1 changed files with 1 additions and 2 deletions
|
|
@ -141,8 +141,7 @@ struct visorchipset_bus_info {
|
|||
struct controlvm_message_header pending_msg_hdr;/* CONTROLVM MsgHdr */
|
||||
/** For private use by the bus driver */
|
||||
void *bus_driver_context;
|
||||
u64 dev_no;
|
||||
|
||||
u32 dev_no;
|
||||
};
|
||||
|
||||
static inline struct visorchipset_bus_info *
|
||||
|
|
|
|||
Loading…
Reference in a new issue