From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932367AbdJZNnZ (ORCPT ); Thu, 26 Oct 2017 09:43:25 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:51618 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932246AbdJZNnU (ORCPT ); Thu, 26 Oct 2017 09:43:20 -0400 X-Google-Smtp-Source: ABhQp+RhkhI3ZSs+ikhZJnpFtaVYVzVcTgBl5MFOjmDzLuwxryHZWHumfrQi+M+KitazmCLYCD9s2g== From: PrasannaKumar Muralidharan To: herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: PrasannaKumar Muralidharan Subject: [PATCH] hw_random: Include device.h instead of declaring struct device Date: Thu, 26 Oct 2017 19:12:08 +0530 Message-Id: <20171026134208.31368-1-prasannatsmkumar@gmail.com> X-Mailer: git-send-email 2.10.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Include linux/device.h instead of declaring struct device. Signed-off-by: PrasannaKumar Muralidharan --- include/linux/hw_random.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/hw_random.h b/include/linux/hw_random.h index bee0827..2ec9af7 100644 --- a/include/linux/hw_random.h +++ b/include/linux/hw_random.h @@ -13,6 +13,7 @@ #define LINUX_HWRANDOM_H_ #include +#include #include #include #include @@ -51,8 +52,6 @@ struct hwrng { struct completion cleanup_done; }; -struct device; - /** Register a new Hardware Random Number Generator driver. */ extern int hwrng_register(struct hwrng *rng); extern int devm_hwrng_register(struct device *dev, struct hwrng *rng); -- 2.10.0