os/nandboot-R2_0_4/lib/mtd-compat.c File Reference

#include <linux/types.h>
#include "mtd.h"

Include dependency graph for mtd-compat.c:

Go to the source code of this file.

Functions

int add_mtd_device (struct mtd_info *mtd)
int del_mtd_device (struct mtd_info *mtd)
mtd_infoget_mtd_device (struct mtd_info *mtd, int num)
void put_mtd_device (struct mtd_info *mtd)
void register_mtd_user (struct mtd_notifier *new)
int unregister_mtd_user (struct mtd_notifier *old)
void simple_printk (const char *str)


Function Documentation

int add_mtd_device ( struct mtd_info mtd  ) 

Definition at line 30 of file mtd-compat.c.

int del_mtd_device ( struct mtd_info mtd  ) 

Definition at line 31 of file mtd-compat.c.

Referenced by nand_release().

struct mtd_info* get_mtd_device ( struct mtd_info mtd,
int  num 
)

Definition at line 33 of file mtd-compat.c.

void put_mtd_device ( struct mtd_info mtd  ) 

Definition at line 35 of file mtd-compat.c.

void register_mtd_user ( struct mtd_notifier new  ) 

Definition at line 37 of file mtd-compat.c.

void simple_printk ( const char *  str  ) 

Definition at line 44 of file mtd-compat.c.

References putc(), and puts().

int unregister_mtd_user ( struct mtd_notifier old  ) 

Definition at line 38 of file mtd-compat.c.


Generated on Fri Nov 28 00:08:33 2008 for elphel by  doxygen 1.5.1