mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 02:15:45 +01:00 
			
		
		
		
	common: board_r: include asm-generic/gpio.h
Not all architectures define <asm/gpio.h> and even on those that do, the header cannot be included for all boards without causing various build failures. Since common/board_r.c only needs gpio_hog_probe_all() declaration, include <asm-generic/gpio.h> and drop the associated ifdef. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
This commit is contained in:
		| @@ -66,9 +66,7 @@ | |||||||
| #include <linux/err.h> | #include <linux/err.h> | ||||||
| #include <efi_loader.h> | #include <efi_loader.h> | ||||||
| #include <wdt.h> | #include <wdt.h> | ||||||
| #if defined(CONFIG_GPIO_HOG) | #include <asm-generic/gpio.h> | ||||||
| #include <asm/gpio.h> |  | ||||||
| #endif |  | ||||||
| #ifdef CONFIG_EFI_SETUP_EARLY | #ifdef CONFIG_EFI_SETUP_EARLY | ||||||
| #include <efi_loader.h> | #include <efi_loader.h> | ||||||
| #endif | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user