devfs_find_and_unregister fix (was Re: Linux 2.5.31)

From: Eric Gillespie (viking@flying-brick.caverock.net.nz)
Date: Wed Aug 14 2002 - 03:09:05 EST


In reply to:
ecoffey at alphalink dot com dot au
>devfs problem, make modules_install fails with
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.31; fi
>depmod: *** Unresolved symbols in
>/lib/modules/2.5.31/kernel/sound/core/snd.o
>depmod: devfs_find_and_unregister

fs/devfs/base.c, Line 2315, add this:

--- fs/devfs/base_orig.c Wed Aug 14 20:02:09 2002
+++ fs/devfs/base.c Tue Aug 13 18:51:23 2002
@@ -2312,6 +2312,7 @@
 EXPORT_SYMBOL(devfs_mk_symlink);
 EXPORT_SYMBOL(devfs_mk_dir);
 EXPORT_SYMBOL(devfs_get_handle);
+EXPORT_SYMBOL(devfs_find_and_unregister);
 EXPORT_SYMBOL(devfs_get_flags);
 EXPORT_SYMBOL(devfs_set_flags);
 EXPORT_SYMBOL(devfs_get_maj_min);

-- 
 /|   _,.:*^*:.,   |\           Cheers from the Viking family, 
| |_/'  viking@ `\_| |            including Pippin, our cat
|    flying-brick    | $FunnyMail  Bilbo   : Now far ahead the Road has gone,
 \_.caverock.net.nz_/     5.39    in LOTR  : Let others follow it who can!

- 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/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:36 EST