mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
[MTD] Make init_flagadm function static
The module init function init_flagadm does not need to be global, so add the needed keyword to drivers/mtd/maps/cfi_flagadm.c. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
d849257c42
commit
2e257a2d6d
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ struct mtd_partition flagadm_parts[] = {
|
|||
|
||||
static struct mtd_info *mymtd;
|
||||
|
||||
int __init init_flagadm(void)
|
||||
static int __init init_flagadm(void)
|
||||
{
|
||||
printk(KERN_NOTICE "FlagaDM flash device: %x at %x\n",
|
||||
FLASH_SIZE, FLASH_PHYS_ADDR);
|
||||
|
|
Loading…
Reference in a new issue