Skip to content

Commit

Permalink
staging: winbond: needs <linux/delay.h> for msleep and friends
Browse files Browse the repository at this point in the history
linux/delay.h is pulled in somehow on x86 but not on ia64 or powerpc.

This fixes a build failure on those arches since they use [mu]delay.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jeff Mahoney authored and Greg Kroah-Hartman committed Mar 1, 2011
1 parent c0365f0 commit cecf826
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/winbond/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <linux/wireless.h>
#include <linux/types.h>
#include <linux/delay.h>

#include "wbhal.h"
#include "mto.h"
Expand Down

0 comments on commit cecf826

Please sign in to comment.