mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
display_options.h: Correct includes
First, a header should never include itself so remove that. Second, this header needs <linux/types.h> to be included as the function prototypes use types that we get via that header. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
704b6d82ba
commit
dcda1f27f5
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,8 @@
|
|||
#ifndef __DISPLAY_OPTIONS_H
|
||||
#define __DISPLAY_OPTIONS_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/**
|
||||
* print_size() - Print a size with a suffix
|
||||
*
|
||||
|
@ -19,7 +21,6 @@
|
|||
* @size: Size to print
|
||||
* @suffix String to print after the size
|
||||
*/
|
||||
#include <display_options.h>
|
||||
void print_size(uint64_t size, const char *suffix);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue