Re: [2.5 patch] let COMX depend on PROC_FS

Adrian Bunk (bunk@fs.tum.de)
Sun, 8 Jun 2003 18:56:08 +0200


On Sun, Jun 08, 2003 at 05:49:08PM +0100, Christoph Hellwig wrote:
> On Sun, Jun 08, 2003 at 04:40:38PM +0200, Adrian Bunk wrote:
> > >From drivers/net/wan/comx.c:
> >
> > <-- snip -->
> >
> > ...
> > #ifndef CONFIG_PROC_FS
> > #error For now, COMX really needs the /proc filesystem
> > #endif
> > ...
> >
> > <-- snip -->
> >
> >
> > The following patch add a dependency to Kconfig to avoid compile errors
> > with CONFIG_COMX and !CONFIG_PROC_FS:
>
> Actually it still doesn't link with this because the procfs code in it
> is utter crap and relies on a symbol proc_get_inode that isn't exported
> since 2.3. As no one cared for this driver over years I'd suggest just
> removing it.

The proc_get_inode link problem only affects the modular build of
comx.c .

The static build works fine in both 2.4 and 2.5.

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

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