Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: cfi_cmdset_0002: Fix MODULE_ALIAS and linkage for new 0701 commandset ID

Signed-off-by: Guillaume LECERF <glecerf@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by

David Woodhouse and committed by
David Woodhouse
1e804cec 73850975

+3
+3
drivers/mtd/chips/cfi_cmdset_0002.c
··· 489 489 490 490 return cfi_amdstd_setup(mtd); 491 491 } 492 + struct mtd_info *cfi_cmdset_0701(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0002"))); 492 493 EXPORT_SYMBOL_GPL(cfi_cmdset_0002); 494 + EXPORT_SYMBOL_GPL(cfi_cmdset_0701); 493 495 494 496 static struct mtd_info *cfi_amdstd_setup(struct mtd_info *mtd) 495 497 { ··· 2042 2040 MODULE_LICENSE("GPL"); 2043 2041 MODULE_AUTHOR("Crossnet Co. <info@crossnet.co.jp> et al."); 2044 2042 MODULE_DESCRIPTION("MTD chip driver for AMD/Fujitsu flash chips"); 2043 + MODULE_ALIAS("cfi_cmdset_0701");