]> git.baikalelectronics.ru Git - uboot.git/commit
pci: swap_case: Allow compilation on 32-bit machines
authorSimon Glass <sjg@chromium.org>
Sun, 18 Jul 2021 20:14:23 +0000 (14:14 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 28 Jul 2021 23:30:22 +0000 (19:30 -0400)
commit8e88d7cfbae195c3c699b423e27c0c6aab259a33
treea4e411a7fb46e8bb571006e8d50bac6912acea5b
parent8a3b00bf1723d67411be37501a8de1ccbdcc916a
pci: swap_case: Allow compilation on 32-bit machines

At present this driver assumes that ulong is 64-bits long. On 32-bit
machines it is not. Use the 64-bit code only on 64-bit machines.

This makes things work correctly on 32-bit machines.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/swap_case.c