[PATCH -next] random: needs linux/device.h for struct device

2013-11-04 Thread Randy Dunlap
on x86_64: drivers/char/random.c: In function 'add_device_attach_randomness': drivers/char/random.c:837:41: error: dereferencing pointer to incomplete type need to #include for struct device, I think. Yes, that works. --- From: Randy Dunlap Fix struct device build failure on x86_64 by includ

Re: [PATCH -next] random: needs linux/device.h for struct device

2013-11-04 Thread Theodore Ts'o
On Mon, Nov 04, 2013 at 08:06:16AM -0800, Randy Dunlap wrote: > on x86_64: > > drivers/char/random.c: In function 'add_device_attach_randomness': > drivers/char/random.c:837:41: error: dereferencing pointer to incomplete type > > > need to #include for struct device, I think. The patch which i