* IrDA gcc warnings in 2.4.8-ac9
@ 2001-08-22 21:08 Pete Zaitcev
0 siblings, 0 replies; only message in thread
From: Pete Zaitcev @ 2001-08-22 21:08 UTC (permalink / raw)
To: dag; +Cc: linux-kernel
In case anyone cares about such minor things as warnings...
--- linux-2.4.8-ac9/init/main.c Wed Aug 22 11:02:12 2001
+++ linux-2.4.8-ac9-niph/init/main.c Wed Aug 22 12:09:23 2001
@@ -67,6 +67,7 @@
#ifdef CONFIG_IRDA
#include <net/irda/irda_device.h>
+extern int irda_proto_init(void);
#endif
#ifdef CONFIG_X86_LOCAL_APIC
--- linux-2.4.8-ac9/net/irda/irda_device.c Wed Apr 18 14:40:07 2001
+++ linux-2.4.8-ac9-niph/net/irda/irda_device.c Wed Aug 22 12:11:47 2001
@@ -457,15 +457,17 @@
dongle_t *irda_device_dongle_init(struct net_device *dev, int type)
{
struct dongle_reg *reg;
- char modname[32];
dongle_t *dongle;
ASSERT(dev != NULL, return NULL;);
#ifdef CONFIG_KMOD
+ {
+ char modname[32];
/* Try to load the module needed */
sprintf(modname, "irda-dongle-%d", type);
request_module(modname);
+ }
#endif /* CONFIG_KMOD */
if (!(reg = hashbin_find(dongles, type, NULL))) {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-22 21:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-22 21:08 IrDA gcc warnings in 2.4.8-ac9 Pete Zaitcev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox