ssb: register serial flash as platform device
authorRafał Miłecki <zajec5@gmail.com>
Tue, 18 Jun 2013 05:33:40 +0000 (07:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 18 Jun 2013 18:46:46 +0000 (14:46 -0400)
commit7b5d6043de31290de98e9232cbd9a07968aef5bd
tree228e02ecbbe6b22041b8f6a5e7eba43bb852f5f9
parente861ef523cd91270d108edc394e648b1f9e6fbd5
ssb: register serial flash as platform device

This allows writing MTD driver working as a platform driver. In
platform_data it will receive struct ssb_sflash, which contains all
important data about flash (window, size).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/driver_chipcommon_sflash.c
drivers/ssb/main.c
drivers/ssb/ssb_private.h