]> git.openfabrics.org - ~emulex/infiniband.git/commit
atl1c: Do not call device_init_wakeup() in atl1c_probe()
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 10 Feb 2011 06:54:04 +0000 (06:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Feb 2011 19:38:43 +0000 (11:38 -0800)
commit0303adeee3d6740cd78a71c0f40946b4886ceaa3
tree23621734cc21051f27e480a0c6764c250d40a93d
parent43067ed8aecac4410a0a629e504629ebece35206
atl1c: Do not call device_init_wakeup() in atl1c_probe()

The atl1c driver shouldn't call device_init_wakeup() in its probe
routine with the second argument equal to 1, because for PCI devices
the wakeup capability setting is initialized as appropriate by the
PCI subsystem.  Remove the potentially harmful call.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atl1c/atl1c_main.c