Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751729AbbE0AO7 (ORCPT ); Tue, 26 May 2015 20:14:59 -0400 Received: from p3plex2out04.prod.phx3.secureserver.net ([184.168.131.18]:44695 "EHLO p3plex2out04.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751237AbbE0AO6 convert rfc822-to-8bit (ORCPT ); Tue, 26 May 2015 20:14:58 -0400 From: Hartley Sweeten To: Ian Abbott , "driverdev-devel@linuxdriverproject.org" CC: Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] staging: comedi: addi_watchdog.h: don't include "../comedidev.h" Thread-Topic: [PATCH] staging: comedi: addi_watchdog.h: don't include "../comedidev.h" Thread-Index: AQHQlKzdBn6FR8VlRk2TldiQzZ98K52O+mNA Date: Wed, 27 May 2015 00:14:56 +0000 Message-ID: References: <1432312323-9891-1-git-send-email-abbotti@mev.co.uk> In-Reply-To: <1432312323-9891-1-git-send-email-abbotti@mev.co.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [184.183.19.121] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 736 Lines: 16 On Friday, May 22, 2015 9:32 AM, Ian Abbott wrote: > The Comedi "addi_watchdog.h" header doesn't use anything form > "comedidev.h" apart from `struct comedi_subdevice`, which it only uses > to construct a corresponding pointer type within the parameter list of a > function prototype. Just declare the structure type incompletely and > don't bother including the header file. > > Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten -- 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/