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

Commit 28552c2e authored by Kevin Hilman's avatar Kevin Hilman
Browse files

davinci: misc cleanups from sparse



- Convert data/functions to static
- include headers for missing declarations
- pointer cleanups:  struct foo *__iomem f --> struct foo __iomem *f;

Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 66f41d4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ static struct platform_device davinci_evm_norflash_device = {
 * It may used instead of the (default) NOR chip to boot, using TI's
 * tools to install the secondary boot loader (UBL) and U-Boot.
 */
struct mtd_partition davinci_evm_nandflash_partition[] = {
static struct mtd_partition davinci_evm_nandflash_partition[] = {
	/* Bootloader layout depends on whose u-boot is installed, but we
	 * can hide all the details.
	 *  - block 0 for u-boot environment ... in mainline u-boot
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@

#define NAND_BLOCK_SIZE		SZ_128K

struct mtd_partition davinci_ntosd2_nandflash_partition[] = {
static struct mtd_partition davinci_ntosd2_nandflash_partition[] = {
	{
		/* UBL (a few copies) plus U-Boot */
		.name		= "bootloader",
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
#define DAVINCI_ASYNC_EMIF_CONTROL_BASE   0x01e00000
#define DAVINCI_ASYNC_EMIF_DATA_CE0_BASE  0x02000000

struct mtd_partition davinci_sffsdr_nandflash_partition[] = {
static struct mtd_partition davinci_sffsdr_nandflash_partition[] = {
	/* U-Boot Environment: Block 0
	 * UBL:                Block 1
	 * U-Boot:             Blocks 6-7 (256 kb)
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
#include <linux/i2c.h>

#include <mach/clock.h>
#include <mach/cdce949.h>

#include "clock.h"

+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@

#include <mach/hardware.h>

#include <mach/clock.h>
#include <mach/psc.h>
#include <mach/cputype.h>
#include "clock.h"
Loading