Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp200234rdb; Mon, 22 Jan 2024 00:55:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHC4jbYFW/3eappKA+nkRZLNzyXDLCEjB91ZxTfPbCnLt8zupA3Sw50W/6mxlkX2m+nuN5c X-Received: by 2002:a05:6358:3a14:b0:176:4c29:57fe with SMTP id g20-20020a0563583a1400b001764c2957femr361753rwe.5.1705913701554; Mon, 22 Jan 2024 00:55:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705913701; cv=pass; d=google.com; s=arc-20160816; b=J3tJRVlM8l78oWeqB+RkUDcWcindTAbq49yUla6Ik31jn+jMpLswNvxoOFdyaOcYq3 hom71tesLqzw2hox9kNwp2i5I9jT6a/7PrY9lNqHZQWaIJBBKRFwfMjXezLuTpGx4U8C UoI7G1OMheBDrsY7fWg2nZnfA6ng5IQag+ux+yEy1KK+hkuyIwehJWdotyJZphaC06Mm YxWDArOcWdmGM7tSo/8cfPIIZIrncGhrQDbYBpHHfx26l7OBsxuhhASNfvR1WP72xz4z hgvtiS/sAfi7moRpcU7awq1DSAqy40FLICTZPpLb6XNRq1qTqsvzYezE7+SVobRmOgcq Aqug== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=9XXrcrmw+2MKD2v7K/RcBLkXjOChbZMqTOF3cEVBhRU=; fh=RXI3DczjMgawXrmSr75SeVk+n4W8oyf5TQ6SFj5coGM=; b=sW8jmhavAmqz/uOLM9scjYlny/1s+p49ip/KMoax68D9lOaBs3p4TOlJPz/fI95Xk2 6pVFMUZeF77zp8wlbjrSJ0wToubN+ljpBAVDJUbyRlyCS7M76JcDWsob9DP8ZR4R1vmm /mx0ouo1C2NWp8app8i8z5cORgk6txfpy89ITNt6fDutim9Sf+wpFoqMB79MLh1W/MiR XH025SCSmOd5FB8H7DWhXoLTvvd6SpsxM+nmd5eqn/6ueH1u8YgEYV33pyjNnpXxBOic x6hvggghQqV4qyjjrtS27l3njg5L4B0FmPnwc6FVS6VwbSjqmjJtoknnsi2bihGMk+9X b23Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=h08WuhIX; 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-32570-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32570-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bz36-20020a056a02062400b005c68d9545c7si8108269pgb.334.2024.01.22.00.55.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 00:55:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32570-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=h08WuhIX; 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-32570-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32570-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2C713280F5E for ; Mon, 22 Jan 2024 08:55:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D26833A8EC; Mon, 22 Jan 2024 08:49:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b="h08WuhIX" 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 B9D0E3987D; Mon, 22 Jan 2024 08:49:45 +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=1705913390; cv=none; b=gt1ll7kWqY0yCjWm89O78swzHPcLxzwJwkGN8CrT8IT9/3FGT/sjHpzq86I2opB/TDd/kPjSRmQHkcBffo8yoxRCvWWSTcREwlJh3ODdFgM+vx5lZtZwOUJCdTcUxm7cr4g9kedLmUP7SIlB8ma/+CAdMqK9h4WlRa9OqG9TyvA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705913390; c=relaxed/simple; bh=6ipTFW19SsGxZbI2l0X1rvEIY26wje19A4UbQtxlQTU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=HazgQ1NnZ1e5OOp4h630frDmN7CSvsMYC0MfSUI9l3zkrcL81fcU5KLRd8SeLH4d2GpNpbgRGEWqGr2aA1q0B505w/1zj7TNlXmJANJDwTcIuTthk0HumK+6QnyR6VV+axyVVLNUwn5JneUhQMZbWs401P8m+Ip7/bi3Vt4oULA= 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=h08WuhIX; 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 4TJP6b62fFz67tb; Mon, 22 Jan 2024 09:49:43 +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 4TJP6b2Hygz67wS; Mon, 22 Jan 2024 09:49:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaisler.com; s=unoeuro; t=1705913383; bh=9XXrcrmw+2MKD2v7K/RcBLkXjOChbZMqTOF3cEVBhRU=; h=From:To:Cc:Subject:Date; b=h08WuhIXQolwPgCNDCU3iEJDkKIR0ph8vwUtV2DsgR1U7oUZ7a1Q0rAeXf3uDymot 9umqz2Uj2ezq25284w9SZBqiBKFkNLk8HKLcwtY8zVzMNzsGB+j6gM9S19YSxDegyC V9TBjaGr4LymxEc2HaZiasWWKxPyqopXioDJAsdM= From: Andreas Larsson To: Alan Stern , linux-usb@vger.kernel.org Cc: Greg Kroah-Hartman , Rob Herring , linux-kernel@vger.kernel.org, software@gaisler.com Subject: [PATCH] usb: uhci-grlib: Explicitly include linux/platform_device.h Date: Mon, 22 Jan 2024 09:22:25 +0100 Message-Id: <20240122082225.984523-1-andreas@gaisler.com> X-Mailer: git-send-email 2.34.1 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: 0d18bcdebb2f ("of: Stop circularly including of_device.h and of_platform.h") Signed-off-by: Andreas Larsson --- 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