Commit ab78860f authored by Simon Glass's avatar Simon Glass Committed by David Gibson
Browse files

pylibfdt: Add stdint include to fix uint32_t



Some types used by libfdt.h are not understood the Python module since
they are defined outside it. An example is an attempt to do this:

   import libfdt
   result = libfdt.fdt_node_offset_by_phandle(fdt, phandle)

This results in:

TypeError: in method 'fdt_node_offset_by_phandle', argument 2 of
	type 'uint32_t'

Include the standard integer header file to fix this.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 36f511fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment