summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-2.6.24/cm-x270/0004-cm-x270-nand-simplify-name.patch
blob: 17a2579932ae4c0f57f4e581264f0aa76273c057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 3e1d0d66b6cb94fc06621fbd1af64d8bebb6046b Mon Sep 17 00:00:00 2001
From: Cliff Brake <cbrake@happy.dev.bec-systems.com>
Date: Fri, 20 Jul 2007 19:04:12 -0400
Subject: [PATCH] cm-x270-nand-simplify-name

---
 drivers/mtd/nand/cmx270_nand.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/nand/cmx270_nand.c b/drivers/mtd/nand/cmx270_nand.c
index cb663ef..3654ce4 100644
--- a/drivers/mtd/nand/cmx270_nand.c
+++ b/drivers/mtd/nand/cmx270_nand.c
@@ -191,6 +191,8 @@ static int cmx270_init(void)
 	cmx270_nand_mtd->owner = THIS_MODULE;
 	cmx270_nand_mtd->priv = this;
 
+	cmx270_nand_mtd->name = "cm-x270-nand";
+
 	/* insert callbacks */
 	this->IO_ADDR_R = cmx270_nand_io;
 	this->IO_ADDR_W = cmx270_nand_io;
-- 
1.5.4.rc4