[2.5 patch] two small MTD fixes

Adrian Bunk (bunk@fs.tum.de)
Tue, 24 Jun 2003 19:26:39 +0200


The patch below contains the following fixes for MTD in 2.5.73:
- postfix a constat in mptbase.c with ULL
- add an extern declaration for a function that is later called in
gen_probe.c

Please apply
Adrian

--- linux-2.5.73-not-full/drivers/message/fusion/mptbase.c.old 2003-06-23 23:07:57.000000000 +0200
+++ linux-2.5.73-not-full/drivers/message/fusion/mptbase.c 2003-06-23 23:08:27.000000000 +0200
@@ -1279,7 +1279,7 @@
u32 psize;
int ii;
int r = -ENODEV;
- u64 mask = 0xffffffffffffffff;
+ u64 mask = 0xffffffffffffffffULL;

if (pci_enable_device(pdev))
return r;
--- linux-2.5.73-not-full/drivers/mtd/chips/gen_probe.c.old 2003-06-23 23:16:23.000000000 +0200
+++ linux-2.5.73-not-full/drivers/mtd/chips/gen_probe.c 2003-06-23 23:16:45.000000000 +0200
@@ -281,6 +281,7 @@

extern cfi_cmdset_fn_t cfi_cmdset_0001;
extern cfi_cmdset_fn_t cfi_cmdset_0002;
+extern cfi_cmdset_fn_t cfi_cmdset_0020;

static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map,
int primary)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/