Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01c32070 authored by Jorgyano Vieira's avatar Jorgyano Vieira Committed by Greg Kroah-Hartman
Browse files

Staging: crystalhd: Replace the local includes with global header



This patch replaces the local includes with the global header.
So the the crystalhd.h will be the only header included by the other files.

Signed-off-by: default avatarJorgyano Vieira <jorgyano@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4768f3f0
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -48,8 +48,7 @@


#endif
#endif


#include "bc_dts_defs.h"
#include "crystalhd.h"
#include "bcm_70012_regs.h"	/* Link Register defs */


#define CRYSTALHD_API_NAME	"crystalhd"
#define CRYSTALHD_API_NAME	"crystalhd"
#define CRYSTALHD_API_DEV_NAME	"/dev/crystalhd"
#define CRYSTALHD_API_DEV_NAME	"/dev/crystalhd"
+1 −2
Original line number Original line Diff line number Diff line
@@ -24,8 +24,7 @@
 * along with this driver.  If not, see <http://www.gnu.org/licenses/>.
 * along with this driver.  If not, see <http://www.gnu.org/licenses/>.
 **********************************************************************/
 **********************************************************************/


#include "crystalhd_cmds.h"
#include "crystalhd.h"
#include "crystalhd_hw.h"


static struct crystalhd_user *bc_cproc_get_uid(struct crystalhd_cmd *ctx)
static struct crystalhd_user *bc_cproc_get_uid(struct crystalhd_cmd *ctx)
{
{
+2 −2
Original line number Original line Diff line number Diff line
@@ -33,8 +33,8 @@
 *        from _dts_glob and dts_defs etc.. which are defined for
 *        from _dts_glob and dts_defs etc.. which are defined for
 *        windows.
 *        windows.
 */
 */
#include "crystalhd_misc.h"

#include "crystalhd_hw.h"
#include "crystalhd.h"


enum crystalhd_state {
enum crystalhd_state {
	BC_LINK_INVALID		= 0x00,
	BC_LINK_INVALID		= 0x00,
+2 −1
Original line number Original line Diff line number Diff line
@@ -22,10 +22,11 @@
 * along with this driver.  If not, see <http://www.gnu.org/licenses/>.
 * along with this driver.  If not, see <http://www.gnu.org/licenses/>.
 **********************************************************************/
 **********************************************************************/


#include "crystalhd.h"

#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/delay.h>
#include "crystalhd_hw.h"


/* Functions internal to this file */
/* Functions internal to this file */


+1 −2
Original line number Original line Diff line number Diff line
@@ -27,8 +27,7 @@
#ifndef _CRYSTALHD_HW_H_
#ifndef _CRYSTALHD_HW_H_
#define _CRYSTALHD_HW_H_
#define _CRYSTALHD_HW_H_


#include "crystalhd_misc.h"
#include "crystalhd.h"
#include "crystalhd_fw_if.h"


/* HW constants..*/
/* HW constants..*/
#define DMA_ENGINE_CNT		2
#define DMA_ENGINE_CNT		2
Loading