Skip to content

Commit cc31822

Browse files
guillaumelecerfDavid Woodhouse
authored andcommitted
mtd: cfi_fixup: remove unused 'param' parameter
The 'param' parameter has never been used since its introduction, so simply remove it. Signed-off-by: Guillaume LECERF <glecerf@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent 027d9ac commit cc31822

5 files changed

Lines changed: 77 additions & 78 deletions

File tree

‎drivers/mtd/chips/cfi_cmdset_0001.c‎

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ static void cfi_tell_features(struct cfi_pri_intelext *extp)
162162
#endif
163163

164164
/* Atmel chips don't use the same PRI format as Intel chips */
165-
static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param)
165+
static void fixup_convert_atmel_pri(struct mtd_info *mtd)
166166
{
167167
struct map_info *map = mtd->priv;
168168
struct cfi_private *cfi = map->fldrv_priv;
@@ -202,7 +202,7 @@ static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param)
202202
cfi->cfiq->BufWriteTimeoutMax = 0;
203203
}
204204

205-
static void fixup_at49bv640dx_lock(struct mtd_info *mtd, void *param)
205+
static void fixup_at49bv640dx_lock(struct mtd_info *mtd)
206206
{
207207
struct map_info *map = mtd->priv;
208208
struct cfi_private *cfi = map->fldrv_priv;
@@ -214,7 +214,7 @@ static void fixup_at49bv640dx_lock(struct mtd_info *mtd, void *param)
214214

215215
#ifdef CMDSET0001_DISABLE_ERASE_SUSPEND_ON_WRITE
216216
/* Some Intel Strata Flash prior to FPO revision C has bugs in this area */
217-
static void fixup_intel_strataflash(struct mtd_info *mtd, void* param)
217+
static void fixup_intel_strataflash(struct mtd_info *mtd)
218218
{
219219
struct map_info *map = mtd->priv;
220220
struct cfi_private *cfi = map->fldrv_priv;
@@ -227,7 +227,7 @@ static void fixup_intel_strataflash(struct mtd_info *mtd, void* param)
227227
#endif
228228

229229
#ifdef CMDSET0001_DISABLE_WRITE_SUSPEND
230-
static void fixup_no_write_suspend(struct mtd_info *mtd, void* param)
230+
static void fixup_no_write_suspend(struct mtd_info *mtd)
231231
{
232232
struct map_info *map = mtd->priv;
233233
struct cfi_private *cfi = map->fldrv_priv;
@@ -240,7 +240,7 @@ static void fixup_no_write_suspend(struct mtd_info *mtd, void* param)
240240
}
241241
#endif
242242

243-
static void fixup_st_m28w320ct(struct mtd_info *mtd, void* param)
243+
static void fixup_st_m28w320ct(struct mtd_info *mtd)
244244
{
245245
struct map_info *map = mtd->priv;
246246
struct cfi_private *cfi = map->fldrv_priv;
@@ -249,7 +249,7 @@ static void fixup_st_m28w320ct(struct mtd_info *mtd, void* param)
249249
cfi->cfiq->BufWriteTimeoutMax = 0; /* Not supported */
250250
}
251251

252-
static void fixup_st_m28w320cb(struct mtd_info *mtd, void* param)
252+
static void fixup_st_m28w320cb(struct mtd_info *mtd)
253253
{
254254
struct map_info *map = mtd->priv;
255255
struct cfi_private *cfi = map->fldrv_priv;
@@ -259,7 +259,7 @@ static void fixup_st_m28w320cb(struct mtd_info *mtd, void* param)
259259
(cfi->cfiq->EraseRegionInfo[1] & 0xffff0000) | 0x3e;
260260
};
261261

262-
static void fixup_use_point(struct mtd_info *mtd, void *param)
262+
static void fixup_use_point(struct mtd_info *mtd)
263263
{
264264
struct map_info *map = mtd->priv;
265265
if (!mtd->point && map_is_linear(map)) {
@@ -268,7 +268,7 @@ static void fixup_use_point(struct mtd_info *mtd, void *param)
268268
}
269269
}
270270

271-
static void fixup_use_write_buffers(struct mtd_info *mtd, void *param)
271+
static void fixup_use_write_buffers(struct mtd_info *mtd)
272272
{
273273
struct map_info *map = mtd->priv;
274274
struct cfi_private *cfi = map->fldrv_priv;
@@ -282,7 +282,7 @@ static void fixup_use_write_buffers(struct mtd_info *mtd, void *param)
282282
/*
283283
* Some chips power-up with all sectors locked by default.
284284
*/
285-
static void fixup_unlock_powerup_lock(struct mtd_info *mtd, void *param)
285+
static void fixup_unlock_powerup_lock(struct mtd_info *mtd)
286286
{
287287
struct map_info *map = mtd->priv;
288288
struct cfi_private *cfi = map->fldrv_priv;
@@ -295,40 +295,40 @@ static void fixup_unlock_powerup_lock(struct mtd_info *mtd, void *param)
295295
}
296296

297297
static struct cfi_fixup cfi_fixup_table[] = {
298-
{ CFI_MFR_ATMEL, CFI_ID_ANY, fixup_convert_atmel_pri, NULL },
299-
{ CFI_MFR_ATMEL, AT49BV640D, fixup_at49bv640dx_lock, NULL },
300-
{ CFI_MFR_ATMEL, AT49BV640DT, fixup_at49bv640dx_lock, NULL },
298+
{ CFI_MFR_ATMEL, CFI_ID_ANY, fixup_convert_atmel_pri },
299+
{ CFI_MFR_ATMEL, AT49BV640D, fixup_at49bv640dx_lock },
300+
{ CFI_MFR_ATMEL, AT49BV640DT, fixup_at49bv640dx_lock },
301301
#ifdef CMDSET0001_DISABLE_ERASE_SUSPEND_ON_WRITE
302-
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_intel_strataflash, NULL },
302+
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_intel_strataflash },
303303
#endif
304304
#ifdef CMDSET0001_DISABLE_WRITE_SUSPEND
305-
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_no_write_suspend, NULL },
305+
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_no_write_suspend },
306306
#endif
307307
#if !FORCE_WORD_WRITE
308-
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_use_write_buffers, NULL },
308+
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_use_write_buffers },
309309
#endif
310-
{ CFI_MFR_ST, 0x00ba, /* M28W320CT */ fixup_st_m28w320ct, NULL },
311-
{ CFI_MFR_ST, 0x00bb, /* M28W320CB */ fixup_st_m28w320cb, NULL },
312-
{ CFI_MFR_INTEL, CFI_ID_ANY, fixup_unlock_powerup_lock, NULL, },
313-
{ 0, 0, NULL, NULL }
310+
{ CFI_MFR_ST, 0x00ba, /* M28W320CT */ fixup_st_m28w320ct },
311+
{ CFI_MFR_ST, 0x00bb, /* M28W320CB */ fixup_st_m28w320cb },
312+
{ CFI_MFR_INTEL, CFI_ID_ANY, fixup_unlock_powerup_lock },
313+
{ 0, 0, NULL }
314314
};
315315

316316
static struct cfi_fixup jedec_fixup_table[] = {
317-
{ CFI_MFR_INTEL, I82802AB, fixup_use_fwh_lock, NULL, },
318-
{ CFI_MFR_INTEL, I82802AC, fixup_use_fwh_lock, NULL, },
319-
{ CFI_MFR_ST, M50LPW080, fixup_use_fwh_lock, NULL, },
320-
{ CFI_MFR_ST, M50FLW080A, fixup_use_fwh_lock, NULL, },
321-
{ CFI_MFR_ST, M50FLW080B, fixup_use_fwh_lock, NULL, },
322-
{ 0, 0, NULL, NULL }
317+
{ CFI_MFR_INTEL, I82802AB, fixup_use_fwh_lock },
318+
{ CFI_MFR_INTEL, I82802AC, fixup_use_fwh_lock },
319+
{ CFI_MFR_ST, M50LPW080, fixup_use_fwh_lock },
320+
{ CFI_MFR_ST, M50FLW080A, fixup_use_fwh_lock },
321+
{ CFI_MFR_ST, M50FLW080B, fixup_use_fwh_lock },
322+
{ 0, 0, NULL }
323323
};
324324
static struct cfi_fixup fixup_table[] = {
325325
/* The CFI vendor ids and the JEDEC vendor IDs appear
326326
* to be common. It is like the devices id's are as
327327
* well. This table is to pick all cases where
328328
* we know that is the case.
329329
*/
330-
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_use_point, NULL },
331-
{ 0, 0, NULL, NULL }
330+
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_use_point },
331+
{ 0, 0, NULL }
332332
};
333333

334334
static void cfi_fixup_major_minor(struct cfi_private *cfi,

‎drivers/mtd/chips/cfi_cmdset_0002.c‎

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static void cfi_tell_features(struct cfi_pri_amdstd *extp)
134134

135135
#ifdef AMD_BOOTLOC_BUG
136136
/* Wheee. Bring me the head of someone at AMD. */
137-
static void fixup_amd_bootblock(struct mtd_info *mtd, void* param)
137+
static void fixup_amd_bootblock(struct mtd_info *mtd)
138138
{
139139
struct map_info *map = mtd->priv;
140140
struct cfi_private *cfi = map->fldrv_priv;
@@ -186,7 +186,7 @@ static void fixup_amd_bootblock(struct mtd_info *mtd, void* param)
186186
}
187187
#endif
188188

189-
static void fixup_use_write_buffers(struct mtd_info *mtd, void *param)
189+
static void fixup_use_write_buffers(struct mtd_info *mtd)
190190
{
191191
struct map_info *map = mtd->priv;
192192
struct cfi_private *cfi = map->fldrv_priv;
@@ -197,7 +197,7 @@ static void fixup_use_write_buffers(struct mtd_info *mtd, void *param)
197197
}
198198

199199
/* Atmel chips don't use the same PRI format as AMD chips */
200-
static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param)
200+
static void fixup_convert_atmel_pri(struct mtd_info *mtd)
201201
{
202202
struct map_info *map = mtd->priv;
203203
struct cfi_private *cfi = map->fldrv_priv;
@@ -228,14 +228,14 @@ static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param)
228228
cfi->cfiq->BufWriteTimeoutMax = 0;
229229
}
230230

231-
static void fixup_use_secsi(struct mtd_info *mtd, void *param)
231+
static void fixup_use_secsi(struct mtd_info *mtd)
232232
{
233233
/* Setup for chips with a secsi area */
234234
mtd->read_user_prot_reg = cfi_amdstd_secsi_read;
235235
mtd->read_fact_prot_reg = cfi_amdstd_secsi_read;
236236
}
237237

238-
static void fixup_use_erase_chip(struct mtd_info *mtd, void *param)
238+
static void fixup_use_erase_chip(struct mtd_info *mtd)
239239
{
240240
struct map_info *map = mtd->priv;
241241
struct cfi_private *cfi = map->fldrv_priv;
@@ -250,7 +250,7 @@ static void fixup_use_erase_chip(struct mtd_info *mtd, void *param)
250250
* Some Atmel chips (e.g. the AT49BV6416) power-up with all sectors
251251
* locked by default.
252252
*/
253-
static void fixup_use_atmel_lock(struct mtd_info *mtd, void *param)
253+
static void fixup_use_atmel_lock(struct mtd_info *mtd)
254254
{
255255
mtd->lock = cfi_atmel_lock;
256256
mtd->unlock = cfi_atmel_unlock;
@@ -271,7 +271,7 @@ static void fixup_old_sst_eraseregion(struct mtd_info *mtd)
271271
cfi->cfiq->NumEraseRegions = 1;
272272
}
273273

274-
static void fixup_sst39vf(struct mtd_info *mtd, void *param)
274+
static void fixup_sst39vf(struct mtd_info *mtd)
275275
{
276276
struct map_info *map = mtd->priv;
277277
struct cfi_private *cfi = map->fldrv_priv;
@@ -282,7 +282,7 @@ static void fixup_sst39vf(struct mtd_info *mtd, void *param)
282282
cfi->addr_unlock2 = 0x2AAA;
283283
}
284284

285-
static void fixup_sst39vf_rev_b(struct mtd_info *mtd, void *param)
285+
static void fixup_sst39vf_rev_b(struct mtd_info *mtd)
286286
{
287287
struct map_info *map = mtd->priv;
288288
struct cfi_private *cfi = map->fldrv_priv;
@@ -295,12 +295,12 @@ static void fixup_sst39vf_rev_b(struct mtd_info *mtd, void *param)
295295
cfi->sector_erase_cmd = CMD(0x50);
296296
}
297297

298-
static void fixup_sst38vf640x_sectorsize(struct mtd_info *mtd, void *param)
298+
static void fixup_sst38vf640x_sectorsize(struct mtd_info *mtd)
299299
{
300300
struct map_info *map = mtd->priv;
301301
struct cfi_private *cfi = map->fldrv_priv;
302302

303-
fixup_sst39vf_rev_b(mtd, param);
303+
fixup_sst39vf_rev_b(mtd);
304304

305305
/*
306306
* CFI reports 1024 sectors (0x03ff+1) of 64KBytes (0x0100*256) where
@@ -310,7 +310,7 @@ static void fixup_sst38vf640x_sectorsize(struct mtd_info *mtd, void *param)
310310
pr_warning("%s: Bad 38VF640x CFI data; adjusting sector size from 64 to 8KiB\n", mtd->name);
311311
}
312312

313-
static void fixup_s29gl064n_sectors(struct mtd_info *mtd, void *param)
313+
static void fixup_s29gl064n_sectors(struct mtd_info *mtd)
314314
{
315315
struct map_info *map = mtd->priv;
316316
struct cfi_private *cfi = map->fldrv_priv;
@@ -321,7 +321,7 @@ static void fixup_s29gl064n_sectors(struct mtd_info *mtd, void *param)
321321
}
322322
}
323323

324-
static void fixup_s29gl032n_sectors(struct mtd_info *mtd, void *param)
324+
static void fixup_s29gl032n_sectors(struct mtd_info *mtd)
325325
{
326326
struct map_info *map = mtd->priv;
327327
struct cfi_private *cfi = map->fldrv_priv;
@@ -334,47 +334,47 @@ static void fixup_s29gl032n_sectors(struct mtd_info *mtd, void *param)
334334

335335
/* Used to fix CFI-Tables of chips without Extended Query Tables */
336336
static struct cfi_fixup cfi_nopri_fixup_table[] = {
337-
{ CFI_MFR_SST, 0x234A, fixup_sst39vf, NULL, }, /* SST39VF1602 */
338-
{ CFI_MFR_SST, 0x234B, fixup_sst39vf, NULL, }, /* SST39VF1601 */
339-
{ CFI_MFR_SST, 0x235A, fixup_sst39vf, NULL, }, /* SST39VF3202 */
340-
{ CFI_MFR_SST, 0x235B, fixup_sst39vf, NULL, }, /* SST39VF3201 */
341-
{ CFI_MFR_SST, 0x235C, fixup_sst39vf_rev_b, NULL, }, /* SST39VF3202B */
342-
{ CFI_MFR_SST, 0x235D, fixup_sst39vf_rev_b, NULL, }, /* SST39VF3201B */
343-
{ CFI_MFR_SST, 0x236C, fixup_sst39vf_rev_b, NULL, }, /* SST39VF6402B */
344-
{ CFI_MFR_SST, 0x236D, fixup_sst39vf_rev_b, NULL, }, /* SST39VF6401B */
345-
{ 0, 0, NULL, NULL }
337+
{ CFI_MFR_SST, 0x234a, fixup_sst39vf }, /* SST39VF1602 */
338+
{ CFI_MFR_SST, 0x234b, fixup_sst39vf }, /* SST39VF1601 */
339+
{ CFI_MFR_SST, 0x235a, fixup_sst39vf }, /* SST39VF3202 */
340+
{ CFI_MFR_SST, 0x235b, fixup_sst39vf }, /* SST39VF3201 */
341+
{ CFI_MFR_SST, 0x235c, fixup_sst39vf_rev_b }, /* SST39VF3202B */
342+
{ CFI_MFR_SST, 0x235d, fixup_sst39vf_rev_b }, /* SST39VF3201B */
343+
{ CFI_MFR_SST, 0x236c, fixup_sst39vf_rev_b }, /* SST39VF6402B */
344+
{ CFI_MFR_SST, 0x236d, fixup_sst39vf_rev_b }, /* SST39VF6401B */
345+
{ 0, 0, NULL }
346346
};
347347

348348
static struct cfi_fixup cfi_fixup_table[] = {
349-
{ CFI_MFR_ATMEL, CFI_ID_ANY, fixup_convert_atmel_pri, NULL },
349+
{ CFI_MFR_ATMEL, CFI_ID_ANY, fixup_convert_atmel_pri },
350350
#ifdef AMD_BOOTLOC_BUG
351-
{ CFI_MFR_AMD, CFI_ID_ANY, fixup_amd_bootblock, NULL },
352-
{ CFI_MFR_MACRONIX, CFI_ID_ANY, fixup_amd_bootblock, NULL },
351+
{ CFI_MFR_AMD, CFI_ID_ANY, fixup_amd_bootblock },
352+
{ CFI_MFR_MACRONIX, CFI_ID_ANY, fixup_amd_bootblock },
353353
#endif
354-
{ CFI_MFR_AMD, 0x0050, fixup_use_secsi, NULL, },
355-
{ CFI_MFR_AMD, 0x0053, fixup_use_secsi, NULL, },
356-
{ CFI_MFR_AMD, 0x0055, fixup_use_secsi, NULL, },
357-
{ CFI_MFR_AMD, 0x0056, fixup_use_secsi, NULL, },
358-
{ CFI_MFR_AMD, 0x005C, fixup_use_secsi, NULL, },
359-
{ CFI_MFR_AMD, 0x005F, fixup_use_secsi, NULL, },
360-
{ CFI_MFR_AMD, 0x0c01, fixup_s29gl064n_sectors, NULL, },
361-
{ CFI_MFR_AMD, 0x1301, fixup_s29gl064n_sectors, NULL, },
362-
{ CFI_MFR_AMD, 0x1a00, fixup_s29gl032n_sectors, NULL, },
363-
{ CFI_MFR_AMD, 0x1a01, fixup_s29gl032n_sectors, NULL, },
364-
{ CFI_MFR_SST, 0x536A, fixup_sst38vf640x_sectorsize, NULL, }, /* SST38VF6402 */
365-
{ CFI_MFR_SST, 0x536B, fixup_sst38vf640x_sectorsize, NULL, }, /* SST38VF6401 */
366-
{ CFI_MFR_SST, 0x536C, fixup_sst38vf640x_sectorsize, NULL, }, /* SST38VF6404 */
367-
{ CFI_MFR_SST, 0x536D, fixup_sst38vf640x_sectorsize, NULL, }, /* SST38VF6403 */
354+
{ CFI_MFR_AMD, 0x0050, fixup_use_secsi },
355+
{ CFI_MFR_AMD, 0x0053, fixup_use_secsi },
356+
{ CFI_MFR_AMD, 0x0055, fixup_use_secsi },
357+
{ CFI_MFR_AMD, 0x0056, fixup_use_secsi },
358+
{ CFI_MFR_AMD, 0x005C, fixup_use_secsi },
359+
{ CFI_MFR_AMD, 0x005F, fixup_use_secsi },
360+
{ CFI_MFR_AMD, 0x0c01, fixup_s29gl064n_sectors },
361+
{ CFI_MFR_AMD, 0x1301, fixup_s29gl064n_sectors },
362+
{ CFI_MFR_AMD, 0x1a00, fixup_s29gl032n_sectors },
363+
{ CFI_MFR_AMD, 0x1a01, fixup_s29gl032n_sectors },
364+
{ CFI_MFR_SST, 0x536a, fixup_sst38vf640x_sectorsize }, /* SST38VF6402 */
365+
{ CFI_MFR_SST, 0x536b, fixup_sst38vf640x_sectorsize }, /* SST38VF6401 */
366+
{ CFI_MFR_SST, 0x536c, fixup_sst38vf640x_sectorsize }, /* SST38VF6404 */
367+
{ CFI_MFR_SST, 0x536d, fixup_sst38vf640x_sectorsize }, /* SST38VF6403 */
368368
#if !FORCE_WORD_WRITE
369-
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_use_write_buffers, NULL, },
369+
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_use_write_buffers },
370370
#endif
371-
{ 0, 0, NULL, NULL }
371+
{ 0, 0, NULL }
372372
};
373373
static struct cfi_fixup jedec_fixup_table[] = {
374-
{ CFI_MFR_SST, SST49LF004B, fixup_use_fwh_lock, NULL, },
375-
{ CFI_MFR_SST, SST49LF040B, fixup_use_fwh_lock, NULL, },
376-
{ CFI_MFR_SST, SST49LF008A, fixup_use_fwh_lock, NULL, },
377-
{ 0, 0, NULL, NULL }
374+
{ CFI_MFR_SST, SST49LF004B, fixup_use_fwh_lock },
375+
{ CFI_MFR_SST, SST49LF040B, fixup_use_fwh_lock },
376+
{ CFI_MFR_SST, SST49LF008A, fixup_use_fwh_lock },
377+
{ 0, 0, NULL }
378378
};
379379

380380
static struct cfi_fixup fixup_table[] = {
@@ -383,9 +383,9 @@ static struct cfi_fixup fixup_table[] = {
383383
* well. This table is to pick all cases where
384384
* we know that is the case.
385385
*/
386-
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_use_erase_chip, NULL },
387-
{ CFI_MFR_ATMEL, AT49BV6416, fixup_use_atmel_lock, NULL },
388-
{ 0, 0, NULL, NULL }
386+
{ CFI_MFR_ANY, CFI_ID_ANY, fixup_use_erase_chip },
387+
{ CFI_MFR_ATMEL, AT49BV6416, fixup_use_atmel_lock },
388+
{ 0, 0, NULL }
389389
};
390390

391391

‎drivers/mtd/chips/cfi_util.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup *fixups)
156156
for (f=fixups; f->fixup; f++) {
157157
if (((f->mfr == CFI_MFR_ANY) || (f->mfr == cfi->mfr)) &&
158158
((f->id == CFI_ID_ANY) || (f->id == cfi->id))) {
159-
f->fixup(mtd, f->param);
159+
f->fixup(mtd);
160160
}
161161
}
162162
}

‎drivers/mtd/chips/fwh_lock.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static int fwh_unlock_varsize(struct mtd_info *mtd, loff_t ofs, uint64_t len)
9898
return ret;
9999
}
100100

101-
static void fixup_use_fwh_lock(struct mtd_info *mtd, void *param)
101+
static void fixup_use_fwh_lock(struct mtd_info *mtd)
102102
{
103103
printk(KERN_NOTICE "using fwh lock/unlock method\n");
104104
/* Setup for the chips with the fwh lock method */

‎include/linux/mtd/cfi.h‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,7 @@ struct cfi_extquery *cfi_read_pri(struct map_info *map, uint16_t adr, uint16_t s
527527
struct cfi_fixup {
528528
uint16_t mfr;
529529
uint16_t id;
530-
void (*fixup)(struct mtd_info *mtd, void* param);
531-
void* param;
530+
void (*fixup)(struct mtd_info *mtd);
532531
};
533532

534533
#define CFI_MFR_ANY 0xFFFF

0 commit comments

Comments
 (0)