Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27783
b: refs/heads/master
c: cead4db
h: refs/heads/master
i:
  27781: 9cc3f9a
  27779: b94594f
  27775: c068fc7
v: v3
  • Loading branch information
David Woodhouse committed May 16, 2006
1 parent d0b56e6 commit ce79053
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce589a0328866228412ea0df2c834688da8f4700
refs/heads/master: cead4dbc03ba6eb2e35bac04439b76a0cc2286ce
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/nand/au1550nd.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ int au1550_device_ready(struct mtd_info *mtd)
/*
* Main initialization routine
*/
int __init au1xxx_nand_init(void)
static int __init au1xxx_nand_init(void)
{
struct nand_chip *this;
u16 boot_swapboot = 0; /* default value */
Expand Down Expand Up @@ -480,7 +480,6 @@ module_init(au1xxx_nand_init);
/*
* Clean up routine
*/
#ifdef MODULE
static void __exit au1550_cleanup(void)
{
struct nand_chip *this = (struct nand_chip *)&au1550_mtd[1];
Expand All @@ -496,7 +495,6 @@ static void __exit au1550_cleanup(void)
}

module_exit(au1550_cleanup);
#endif

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Embedded Edge, LLC");
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/nand/autcpu12.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ int autcpu12_device_ready(struct mtd_info *mtd)
/*
* Main initialization routine
*/
int __init autcpu12_init(void)
static int __init autcpu12_init(void)
{
struct nand_chip *this;
int err = 0;
Expand Down Expand Up @@ -203,7 +203,6 @@ module_init(autcpu12_init);
/*
* Clean up routine
*/
#ifdef MODULE
static void __exit autcpu12_cleanup(void)
{
/* Release resources, unregister device */
Expand All @@ -217,7 +216,6 @@ static void __exit autcpu12_cleanup(void)
}

module_exit(autcpu12_cleanup);
#endif

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Thomas Gleixner <tglx@linutronix.de>");
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/cs553x_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ static int __init cs553x_init_one(int cs, int mmio, unsigned long adr)
return err;
}

int __init cs553x_init(void)
static int __init cs553x_init(void)
{
int err = -ENXIO;
int i;
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/nand/rtc_from4.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ static int rtc_from4_errstat(struct mtd_info *mtd, struct nand_chip *this, int s
/*
* Main initialization routine
*/
int __init rtc_from4_init(void)
static int __init rtc_from4_init(void)
{
struct nand_chip *this;
unsigned short bcr1, bcr2, wcr2;
Expand Down Expand Up @@ -637,7 +637,6 @@ module_init(rtc_from4_init);
/*
* Clean up routine
*/
#ifdef MODULE
static void __exit rtc_from4_cleanup(void)
{
/* Release resource, unregister partitions */
Expand All @@ -655,7 +654,6 @@ static void __exit rtc_from4_cleanup(void)
}

module_exit(rtc_from4_cleanup);
#endif

MODULE_LICENSE("GPL");
MODULE_AUTHOR("d.marlin <dmarlin@redhat.com");
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/nand/sharpsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const char *part_probes[] = { "cmdlinepart", NULL };
/*
* Main initialization routine
*/
int __init sharpsl_nand_init(void)
static int __init sharpsl_nand_init(void)
{
struct nand_chip *this;
struct mtd_partition *sharpsl_partition_info;
Expand Down Expand Up @@ -257,7 +257,6 @@ module_init(sharpsl_nand_init);
/*
* Clean up routine
*/
#ifdef MODULE
static void __exit sharpsl_nand_cleanup(void)
{
struct nand_chip *this = (struct nand_chip *)&sharpsl_mtd[1];
Expand All @@ -272,7 +271,6 @@ static void __exit sharpsl_nand_cleanup(void)
}

module_exit(sharpsl_nand_cleanup);
#endif

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Richard Purdie <rpurdie@rpsys.net>");
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/nand/spia.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static void spia_hwcontrol(struct mtd_info *mtd, int cmd)
/*
* Main initialization routine
*/
int __init spia_init(void)
static int __init spia_init(void)
{
struct nand_chip *this;

Expand Down Expand Up @@ -155,7 +155,6 @@ module_init(spia_init);
/*
* Clean up routine
*/
#ifdef MODULE
static void __exit spia_cleanup(void)
{
/* Release resources, unregister device */
Expand All @@ -166,7 +165,6 @@ static void __exit spia_cleanup(void)
}

module_exit(spia_cleanup);
#endif

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Steven J. Hill <sjhill@realitydiluted.com");
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/toto.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static void toto_hwcontrol(struct mtd_info *mtd, int cmd)
/*
* Main initialization routine
*/
int __init toto_init(void)
static int __init toto_init(void)
{
struct nand_chip *this;
int err = 0;
Expand Down

0 comments on commit ce79053

Please sign in to comment.