Commit e4582ea7 authored by Dmitri Vorobiev's avatar Dmitri Vorobiev Committed by David Woodhouse

[MTD] Make lart_flash_init, lart_flash_exit static

The symbols lart_flash_init, lart_flash_exit are needlessly
defined global in drivers/mtd/devices/lart.c, so make them
static.
Signed-off-by: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 9ee49fa5
...@@ -619,7 +619,7 @@ static struct mtd_partition lart_partitions[] = { ...@@ -619,7 +619,7 @@ static struct mtd_partition lart_partitions[] = {
}; };
#endif #endif
int __init lart_flash_init (void) static int __init lart_flash_init (void)
{ {
int result; int result;
memset (&mtd,0,sizeof (mtd)); memset (&mtd,0,sizeof (mtd));
...@@ -690,7 +690,7 @@ int __init lart_flash_init (void) ...@@ -690,7 +690,7 @@ int __init lart_flash_init (void)
return (result); return (result);
} }
void __exit lart_flash_exit (void) static void __exit lart_flash_exit (void)
{ {
#ifndef HAVE_PARTITIONS #ifndef HAVE_PARTITIONS
del_mtd_device (&mtd); del_mtd_device (&mtd);
...@@ -705,5 +705,3 @@ module_exit (lart_flash_exit); ...@@ -705,5 +705,3 @@ module_exit (lart_flash_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_AUTHOR("Abraham vd Merwe <abraham@2d3d.co.za>"); MODULE_AUTHOR("Abraham vd Merwe <abraham@2d3d.co.za>");
MODULE_DESCRIPTION("MTD driver for Intel 28F160F3 on LART board"); MODULE_DESCRIPTION("MTD driver for Intel 28F160F3 on LART board");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment