Staging: crystalhd: Whitespace fixes, indentation fixes and 3 changed #includes
These patches fixes some whitspace and indentation warnings from checkpatch.pl Also these changed #includes: bc_dts_glob_lnx.h:43: WARNING: Use #include <linux/param.h> instead of <asm/param.h> rystalhd_lnx.h:45: WARNING: Use #include <linux/io.h> instead of <asm/io.h> crystalhd_lnx.h:49: WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h> It all compiles fine, but I don't have the hardware to test with.. Signed-off-by: Lars Lindley <lindley@coyote.org> Cc: Jarod Wilson <jarod@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
15df6385d9
commit
641b63f998
@ -40,7 +40,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <asm/param.h>
|
||||
#include <linux/param.h>
|
||||
#include <linux/ioctl.h>
|
||||
#include <sys/select.h>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#ifndef _BC_DTS_TYPES_H_
|
||||
#define _BC_DTS_TYPES_H_
|
||||
|
||||
#ifdef __LINUX_USER__ // Don't include these for KERNEL..
|
||||
#ifdef __LINUX_USER__ /* Don't include these for KERNEL.. */
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
|
@ -309,7 +309,7 @@ static BC_STATUS bc_cproc_download_fw(struct crystalhd_cmd *ctx,
|
||||
idata->add_cdata_sz);
|
||||
|
||||
if (sts != BC_STS_SUCCESS) {
|
||||
BCMLOG_ERR("Firmware Download Failure!! - %d\n", sts);
|
||||
BCMLOG_ERR("Firmware Download Failure!! - %d\n", sts)
|
||||
} else
|
||||
ctx->state |= BC_LINK_INIT;
|
||||
|
||||
|
@ -42,11 +42,11 @@
|
||||
#include <linux/pagemap.h>
|
||||
#include <linux/vmalloc.h>
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <linux/io.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/pgtable.h>
|
||||
#include <asm/system.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
#include "crystalhd_cmds.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user