#define unregister_hotmemory_notifier(nb) ({ (void)(nb); })
#endif
-/*
- * 'struct memory_accessor' is a generic interface to provide
- * in-kernel access to persistent memory such as i2c or SPI EEPROMs
- */
-struct memory_accessor {
- ssize_t (*read)(struct memory_accessor *, char *buf, off_t offset,
- size_t count);
- ssize_t (*write)(struct memory_accessor *, const char *buf,
- off_t offset, size_t count);
-};
-
/*
* Kernel text modification mutex, used for code patching. Users of this lock
* can sleep.