binman: Use unsigned long over typedef ulong

The header binman_sym.h depends on ulong typedef but does not include
types.h. This means the header must be included after including types.h
or a header that includes it.

We could include types.h but instead let's just switch from ulong
to directly using unsigned long. This removes the need for typedef'ing
it in some of the tests, so also remove those.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Andrew Davis
2023-04-04 13:45:41 -05:00
committed by Simon Glass
parent b52d6de207
commit c71ee7e163
4 changed files with 4 additions and 10 deletions

View File

@@ -5,8 +5,6 @@
* Simple program to create some binman symbols. This is used by binman tests.
*/
typedef unsigned long ulong;
#include <linux/kconfig.h>
#include <binman_sym.h>

View File

@@ -5,8 +5,6 @@
* Simple program to create some binman symbols. This is used by binman tests.
*/
typedef unsigned long ulong;
#include <linux/kconfig.h>
#include <binman_sym.h>

View File

@@ -5,8 +5,6 @@
* Simple program to create some binman symbols. This is used by binman tests.
*/
typedef unsigned long ulong;
#include <linux/kconfig.h>
#include <binman_sym.h>