Code cleanup. Signed-off-by: Roland Vossen <rvossen@broadcom.com> Reviewed-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
@@ -17,6 +17,8 @@
#ifndef _sdio_api_h_
#define _sdio_api_h_
+#include "sdio_host.h"
+
#define SDIOH_API_RC_SUCCESS (0x00)
#define SDIOH_API_RC_FAIL (0x01)
#define SDIOH_API_SUCCESS(status) (status == 0)
@@ -25,8 +25,6 @@
#include <brcmu_wifi.h>
#include <soc.h>
-#include <sdio_host.h> /* BRCM API for SDIO
- clients (such as wl, dhd) */
#include <bcmsdbus.h> /* common SDIO/controller interface */
#include <sbsdio.h> /* BRCM sdio device core */
@@ -28,8 +28,8 @@
#include <defs.h>
#include <brcm_hw_ids.h>
#include <brcmu_utils.h>
-#include <sdio_host.h>
#if defined(OOB_INTR_ONLY)
#include <linux/irq.h>
@@ -20,7 +20,7 @@
#include <bcmsdbus.h> /* bcmsdh to/from specific controller APIs */
#include <sdiovar.h> /* ioctl/iovars */
#include <sdiovar.h> /* to get msglevel bit values */
@@ -23,9 +23,7 @@
#include <linux/mmc/sdio.h>
#include <asm/unaligned.h>
-
-#include <defs.h>