• Evgeniy Polyakov's avatar
    [PATCH] W1: let W1 select NET. · 73c0d39f
    Evgeniy Polyakov authored
    On Wed, 2004-08-25 at 23:41, Greg KH wrote:
    > On Wed, Aug 25, 2004 at 11:21:29PM +0400, Evgeniy Polyakov wrote:
    > > On Wed, 25 Aug 2004 10:49:12 -0700
    > > Greg KH <greg@kroah.com> wrote:
    > >
    > > > On Fri, Aug 13, 2004 at 02:35:40PM +0400, Evgeniy Polyakov wrote:
    > > > > The patch below fixes this issue by letting W1 select NET.
    > > > >
    > > > > Patch was created by Adrian Bunk <bunk@fs.tum.de>.
    > > >
    > > > Nah, I'm going to hold off on this, it's not really needed (who
    > > > doesn't build with NET enabled...)
    > >
    > > Hmmm, but someone really may want to build it without NET support.
    > > I have an idea(I thought it out exactly for the case when you do not
    > > apply it) to disable networking(netlink) support in compilation time if
    > > CONFIG_NET is not defined.
    > > And add some warning like:
    > >
    > > #ifndef CONFIG_NET
    > > #warning Netlink support is disabled.
    > > #endif
    >
    > That sounds like a good fix.
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    73c0d39f
w1_netlink.c 1.71 KB