Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756543Ab1EYREt (ORCPT ); Wed, 25 May 2011 13:04:49 -0400 Received: from mail.perches.com ([173.55.12.10]:2023 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755785Ab1EYRCq (ORCPT ); Wed, 25 May 2011 13:02:46 -0400 From: Joe Perches To: Geert Uytterhoeven Cc: Andrew Morton , Randy Dunlap , linux-kernel@vger.kernel.org Subject: [PATCH 3/4] printk: Don't allow direct inclusion Date: Wed, 25 May 2011 10:02:40 -0700 Message-Id: X-Mailer: git-send-email 1.7.4.rc3 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 28 printk.h is a subfile of kernel.h, do not allow it to be included directly. Signed-off-by: Joe Perches --- include/linux/printk.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/linux/printk.h b/include/linux/printk.h index ee048e7..3736545 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -1,3 +1,7 @@ +#ifndef _LINUX_KERNEL_H +#error "Do not include , use instead" +#endif + #ifndef __KERNEL_PRINTK__ #define __KERNEL_PRINTK__ -- 1.7.4.rc3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/