Alan Cox 5f877607cd [MTD] map_rom has NULL erase pointer
Which means if inftl or similar are loaded with it (which is a dumb thing
to do admittedly) it may oops.

Closes #8108

[dwmw2: change error to -EROFS to match write-protected flash]
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-01-11 19:56:46 +00:00
..
2008-06-04 17:50:17 +01:00
2008-08-02 18:45:18 +01:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2009-01-11 19:56:46 +00:00