From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752028AbaJBXaF (ORCPT ); Thu, 2 Oct 2014 19:30:05 -0400 Received: from mail-qg0-f53.google.com ([209.85.192.53]:39527 "EHLO mail-qg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751889AbaJBXaB (ORCPT ); Thu, 2 Oct 2014 19:30:01 -0400 From: Peter Foley To: linux-kernel@vger.kernel.org Cc: Peter Foley , rdunlap@infradead.org, linux-doc@vger.kernel.org, sudeep.dutt@intel.com, nikhil.rao@intel.com, ashutosh.dixit@intel.com, akpm@linux-foundation.org, gregkh@linuxfoundation.org, harshavardhan.r.kharche@intel.com, caz.yokoyama@intel.com, dasaratharaman.chandramouli@intel.com Subject: [PATCH] Documentation: update include path for mpssd Date: Thu, 2 Oct 2014 19:29:39 -0400 Message-Id: <1412292579-21519-1-git-send-email-pefoley2@pefoley.com> X-Mailer: git-send-email 2.1.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sysfs.c includes mpssd.h which includes virtio_ids.h. sysfs.c doesn't have the proper include flags set to use the latest headers, so this causes a build error if the system headers are too old. Signed-off-by: Peter Foley Cc: rdunlap@infradead.org Cc: linux-doc@vger.kernel.org Cc: sudeep.dutt@intel.com Cc: nikhil.rao@intel.com Cc: ashutosh.dixit@intel.com Cc: akpm@linux-foundation.org Cc: gregkh@linuxfoundation.org Cc: harshavardhan.r.kharche@intel.com Cc: caz.yokoyama@intel.com Cc: dasaratharaman.chandramouli@intel.com --- Documentation/mic/mpssd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/mic/mpssd/Makefile b/Documentation/mic/mpssd/Makefile index 505d84f..0f31568 100644 --- a/Documentation/mic/mpssd/Makefile +++ b/Documentation/mic/mpssd/Makefile @@ -6,7 +6,7 @@ mpssd-objs := mpssd.o sysfs.o # Tell kbuild to always build the programs always := $(hostprogs-y) -HOSTCFLAGS_mpssd.o += -I$(objtree)/usr/include -I$(srctree)/tools/include +HOSTCFLAGS += -I$(objtree)/usr/include -I$(srctree)/tools/include ifdef DEBUG HOSTCFLAGS += -DDEBUG=$(DEBUG) -- 2.1.1