dfu: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2024-05-01 19:30:42 -06:00
parent 786a5123cb
commit f01e39cb97
8 changed files with 0 additions and 8 deletions

View file

@ -6,7 +6,6 @@
* author: Lukasz Majewski <l.majewski@samsung.com>
*/
#include <common.h>
#include <env.h>
#include <errno.h>
#include <log.h>

View file

@ -4,7 +4,6 @@
* Lukasz Majewski <l.majewski@majess.pl>
*/
#include <common.h>
#include <log.h>
#include <malloc.h>
#include <errno.h>

View file

@ -6,7 +6,6 @@
* author: Lukasz Majewski <l.majewski@samsung.com>
*/
#include <common.h>
#include <log.h>
#include <malloc.h>
#include <errno.h>

View file

@ -7,7 +7,6 @@
* Based on dfu_nand.c
*/
#include <common.h>
#include <dfu.h>
#include <mtd.h>
#include <linux/err.h>

View file

@ -9,7 +9,6 @@
* author: Lukasz Majewski <l.majewski@samsung.com>
*/
#include <common.h>
#include <log.h>
#include <malloc.h>
#include <errno.h>

View file

@ -8,7 +8,6 @@
* author: Lukasz Majewski <l.majewski@samsung.com>
*/
#include <common.h>
#include <malloc.h>
#include <mapmem.h>
#include <errno.h>

View file

@ -3,7 +3,6 @@
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
*/
#include <common.h>
#include <malloc.h>
#include <errno.h>
#include <div64.h>

View file

@ -2,7 +2,6 @@
/*
* Copyright (C) 2019, STMicroelectronics - All Rights Reserved
*/
#include <common.h>
#include <dfu.h>
#include <errno.h>
#include <log.h>