Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp236435rdb; Sun, 28 Jan 2024 23:51:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBFgZFxaJmwfFCrLeNlrrm/0Zl1KoxAW0/yaqJ6wfWpzdck79DA6dFB6tG+HUhVNbNWXvG X-Received: by 2002:a05:6122:4e83:b0:4b7:8794:17cf with SMTP id gf3-20020a0561224e8300b004b7879417cfmr893670vkb.18.1706514693386; Sun, 28 Jan 2024 23:51:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706514693; cv=pass; d=google.com; s=arc-20160816; b=CckDosLYIV9CM5xLhsTTwR/nQ6Q7Xlm7BPpUqLEn5mKcAnIaKHBpXEdZNDyLBq+IJm QaB7jwGVmEP6JIQ4NInfx/jfSb4CwtUBc6aKWZpyOkcedG+AYGKTYjfEVDoPUZKuxNDb OhD8Om00RfMXqEQlnqGwhCE4Mjiaq2pDRBrBI71/qmSTQfoqIrSlYB0WME+e7QTNQdUc 8i8t6qsDX1JvA27ruHFir69jcOuL3hgzj3Pg0FzvCjxAPWLFSM9eDBbrEPgg7K102W/r lYagOMt+XnBCbNu1wv8ftJsbes7npmedwfsLz1j2IfS2omA+l2C22wg0etynAgY4yrWh cKmg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=REe3zM9H0lwUxZ2BIr7JXuDrLpxdjjZWFjcYYPPgQXM=; fh=wTWjjG3IxHLcDs5vw6iAd/P3tTugeVktX1LusOoS6FQ=; b=plqCbhZVMrZVPPXN41VFyzFwZLqyLIxQcFtlnzrFpod7XI5L9Tytu+sZeQOwscj16V FLldBifEm2th9RB1631nXffN5blg4XEszcNn0HLqKILBABc6NfiF0iYGVhC3v3J6zeKW c4VfUqnd8OZ+vpj3pgkffxOIL2cV3VLU946TapH+swEIz7fYeS8pEMxUGcEuLlc04rKv gQTsK152I6/sNdTcfGrkDQebSwLhhzeL/y0L07uKDZGBau2Yawi9ZrWiP9H3GB6Fny6V uFS5k1ih11tgHRsk/p7DV1RuEinviw/MSo7teVh0U2D8bCDQgQ0SsoYIMm+J8OzbHudn qiqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=IKCOIRHl; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-42298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v20-20020a05620a0f1400b007815ff76435si7504988qkl.455.2024.01.28.23.51.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 23:51:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=IKCOIRHl; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-42298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 256041C2354C for ; Mon, 29 Jan 2024 07:51:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2FB64F1EC; Mon, 29 Jan 2024 07:51:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b="IKCOIRHl" Received: from smtp-out3.simply.com (smtp-out3.simply.com [94.231.106.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 880B34EB3D; Mon, 29 Jan 2024 07:51:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.231.106.210 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706514683; cv=none; b=nIn6A8FNpC4/so8HyFI27ZXJdI+NuA5oUHOSAataSdlqgUbVb7Tg4IH81yJzfMZjYnfNjrNWrMFf3EG6knGrUd6lRSZZAdvK9Krpr4dxd6H/H8PcvPeIfvDdIXKVXGTdbOXC7H7dUcKl5rrz/RrTALgcx1BZVeY0of2pXFAIk+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706514683; c=relaxed/simple; bh=iAhMw5TqYSRo4aVrVeK/fdRJjl4Oy9WJcyP5Hh89bgM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=coiua4ZeVkKD7Fi3E301+zP5XyHG91C8Gw6Gctlrt1jklG7ElHfYEeTv7TBE5z2HNZkLWz3MAOVpAMWurDvPMGlLHuwmwaPjqyrkgWaA4dHz8ioYxGHdxjFJrBIi2uL+5f+tStapnyw4ueB5uPB5ebjzjm9Jaoqnxzx2UlSn0AI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com; spf=pass smtp.mailfrom=gaisler.com; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b=IKCOIRHl; arc=none smtp.client-ip=94.231.106.210 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gaisler.com Received: from localhost (localhost [127.0.0.1]) by smtp.simply.com (Simply.com) with ESMTP id 4TNgTy65Csz681p; Mon, 29 Jan 2024 08:51:18 +0100 (CET) Received: from andreas.got.gaisler.com (h-98-128-223-123.NA.cust.bahnhof.se [98.128.223.123]) by smtp.simply.com (Simply.com) with ESMTPA id 4TNgTs3vDWz6825; Mon, 29 Jan 2024 08:51:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaisler.com; s=unoeuro; t=1706514678; bh=REe3zM9H0lwUxZ2BIr7JXuDrLpxdjjZWFjcYYPPgQXM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=IKCOIRHlpbUk3hI5mDpYxbsrB6zyNUsSuBF9JiLxo/M43zE3leX7DasYdVy8+fdi1 eYRHaF3FtAvqC3aOocsBfzT2DycEMTCC4QE3FCjgFwsfzkxstuy72yCXzjK7JAq7qK M5QR85S+wXBX1wT7u+3rjzTC3NEH+WvKs/AjvX5k= From: Andreas Larsson To: Alan Stern , linux-usb@vger.kernel.org, Greg Kroah-Hartman Cc: Rob Herring , linux-kernel@vger.kernel.org, software@gaisler.com Subject: [PATCH v2] usb: uhci-grlib: Explicitly include linux/platform_device.h Date: Mon, 29 Jan 2024 08:50:56 +0100 Message-Id: <20240129075056.1511630-1-andreas@gaisler.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This fixes relying upon linux/of_platform.h to include linux/platform_device.h, which it no longer does, thereby fixing compilation problems like: In file included from drivers/usb/host/uhci-hcd.c:850: drivers/usb/host/uhci-grlib.c: In function 'uhci_hcd_grlib_probe': drivers/usb/host/uhci-grlib.c:92:29: error: invalid use of undefined type 'struct platform_device' 92 | struct device_node *dn = op->dev.of_node; | ^~ Fixes: ef175b29a242 ("of: Stop circularly including of_device.h and of_platform.h") Signed-off-by: Andreas Larsson --- v2: - Fix commit ID in Fixes reference drivers/usb/host/uhci-grlib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/uhci-grlib.c b/drivers/usb/host/uhci-grlib.c index ac3fc5970315..cfebb833668e 100644 --- a/drivers/usb/host/uhci-grlib.c +++ b/drivers/usb/host/uhci-grlib.c @@ -22,6 +22,7 @@ #include #include #include +#include static int uhci_grlib_init(struct usb_hcd *hcd) { -- 2.34.1