From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932731AbcKONcm (ORCPT ); Tue, 15 Nov 2016 08:32:42 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:33728 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932110AbcKONck (ORCPT ); Tue, 15 Nov 2016 08:32:40 -0500 From: Thierry Reding To: Andrew Morton Cc: Marek Szyprowski , linux-kernel@vger.kernel.org Subject: [PATCH] mm: cma: Make linux/cma.h standalone includible Date: Tue, 15 Nov 2016 14:32:35 +0100 Message-Id: <20161115133235.13387-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.10.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thierry Reding The header uses types and definitions from the linux/init.h as well as linux/types.h headers without explicitly including them. This causes a failure to compile if they are not implicitly pulled in by includers. Signed-off-by: Thierry Reding --- include/linux/cma.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/cma.h b/include/linux/cma.h index 29f9e774ab76..6f0a91b37f68 100644 --- a/include/linux/cma.h +++ b/include/linux/cma.h @@ -1,6 +1,9 @@ #ifndef __CMA_H__ #define __CMA_H__ +#include +#include + /* * There is always at least global CMA area and a few optional * areas configured in kernel .config. -- 2.10.2