mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 22:14:54 +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
|
#ifndef __DISPLAY_OPTIONS_H
|
||||||
#define __DISPLAY_OPTIONS_H
|
#define __DISPLAY_OPTIONS_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* print_size() - Print a size with a suffix
|
* print_size() - Print a size with a suffix
|
||||||
*
|
*
|
||||||
|
@ -19,7 +21,6 @@
|
||||||
* @size: Size to print
|
* @size: Size to print
|
||||||
* @suffix String to print after the size
|
* @suffix String to print after the size
|
||||||
*/
|
*/
|
||||||
#include <display_options.h>
|
|
||||||
void print_size(uint64_t size, const char *suffix);
|
void print_size(uint64_t size, const char *suffix);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue