Skip to content
Unverified Commit 6db359b5 authored by Duje Mihanović's avatar Duje Mihanović Committed by Arnd Bergmann
Browse files

soc: pxa: ssp: fix casts



On ARM64 platforms, id->data is a 64-bit value and casting it to a
32-bit integer causes build errors. Cast it to uintptr_t instead.

The id->driver_data cast is unnecessary, so drop it.

Signed-off-by: default avatarDuje Mihanović <duje.mihanovic@skole.hr>
Reviewed-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20240106-pxa-ssp-v2-1-69ac9f028bba@skole.hr


Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 50d9edd3
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