memstick: initial commit for Sony MemoryStick support
Sony MemoryStick cards are used in many products manufactured by Sony. They are available both as storage and as IO expansion cards. Currently, only MemoryStick Pro storage cards are supported via TI FlashMedia MemoryStick interface. [mboton@gmail.com: biuld fix] [akpm@linux-foundation.org: build fix] Signed-off-by: Alex Dubov <oakad@yahoo.com> Signed-off-by: Miguel Boton <mboton@gmail.co> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
941edd030b
commit
baf8532a14
@@ -284,6 +284,13 @@ void tifm_eject(struct tifm_dev *sock)
|
||||
}
|
||||
EXPORT_SYMBOL(tifm_eject);
|
||||
|
||||
int tifm_has_ms_pif(struct tifm_dev *sock)
|
||||
{
|
||||
struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent);
|
||||
return fm->has_ms_pif(fm, sock);
|
||||
}
|
||||
EXPORT_SYMBOL(tifm_has_ms_pif);
|
||||
|
||||
int tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents,
|
||||
int direction)
|
||||
{
|
||||
|
Reference in New Issue
Block a user