Re: [PATCH] hw_random: Include device.h instead of declaring struct device

From: PrasannaKumar Muralidharan
Date: Mon Oct 30 2017 - 09:01:03 EST


Hi Herbert,

On 30 October 2017 at 12:22, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Oct 26, 2017 at 07:12:08PM +0530, PrasannaKumar Muralidharan wrote:
>> Include linux/device.h instead of declaring struct device.
>>
>> Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@xxxxxxxxx>
>
> Nack. We should not include a header file when a simple forward
> declaration is enough.

No issues.

Regards,
PrasannaKumar