sa1100-flash.c (688d794c4c3f8b08c814381ee2edd3ede5856056) | sa1100-flash.c (0984c8910426371205da0b60fc1dae64a996fb64) |
---|---|
1/* 2 * Flash memory access on SA11x0 based devices 3 * 4 * (C) 2000 Nicolas Pitre <nico@fluxnic.net> 5 */ 6#include <linux/module.h> 7#include <linux/types.h> 8#include <linux/ioport.h> --- 230 unchanged lines hidden (view full) --- 239 return info; 240 241 err: 242 sa1100_destroy(info, plat); 243 out: 244 return ERR_PTR(ret); 245} 246 | 1/* 2 * Flash memory access on SA11x0 based devices 3 * 4 * (C) 2000 Nicolas Pitre <nico@fluxnic.net> 5 */ 6#include <linux/module.h> 7#include <linux/types.h> 8#include <linux/ioport.h> --- 230 unchanged lines hidden (view full) --- 239 return info; 240 241 err: 242 sa1100_destroy(info, plat); 243 out: 244 return ERR_PTR(ret); 245} 246 |
247static const char *part_probes[] = { "cmdlinepart", "RedBoot", NULL }; | 247static const char * const part_probes[] = { "cmdlinepart", "RedBoot", NULL }; |
248 249static int sa1100_mtd_probe(struct platform_device *pdev) 250{ 251 struct flash_platform_data *plat = pdev->dev.platform_data; 252 struct sa_info *info; 253 int err; 254 255 if (!plat) --- 47 unchanged lines hidden --- | 248 249static int sa1100_mtd_probe(struct platform_device *pdev) 250{ 251 struct flash_platform_data *plat = pdev->dev.platform_data; 252 struct sa_info *info; 253 int err; 254 255 if (!plat) --- 47 unchanged lines hidden --- |