From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA7DE33B95A for ; Mon, 18 May 2026 11:47:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779104833; cv=none; b=msoMs17SNYJlzCGa0Pa/co3o/DcQ/hULwdfvZeG3vlyd+3MnAIwi85rKHzYlYcWoZPelMWEeynttwgfUuKMRJX2giM1lizdqLpi0O4zE2TsaZZ5OKzE+Itg9ORcpTX34AssjgN87N53vcB6mbdDbcwYjVgXBXBxf3ZT5OH7jPIE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779104833; c=relaxed/simple; bh=L0Rc+w8icLH5klehWd7GIFGwGQVz1yRZ6fpoEcrIfXE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Mm77xfo7JsEJCAQysx7eCb0v9HKDlPC1ge533pPTBiRvH9qmnD3ZqxFQQT+Kg7+p7qMI9Di9uoEjH+1WWq9DfannF8cR59IqxQqdi4a4KnytGGcn439ttvAYy6WDa2BKgftHO9di+/l4cYRnuuhOSdp4+RhGrpaUqh6ihawwRBw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=U0AeCBIe; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="U0AeCBIe" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-45ae6a0e523so1025099f8f.1 for ; Mon, 18 May 2026 04:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779104830; x=1779709630; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OLKMx0XG0KEj4EtOA3tO3neraMW/tRjRnfYn5YIq3Mw=; b=U0AeCBIeFSiq0lV3T+hW3aCbVa7kBoEjW6/EI7+PpiMFIjfHsQJfM/BU6WUSnO04Rv MsyTW9WsA3uK8ZhvRlcu2BCtoU1oXTOkcqDEeQZgNOXdY39hGl1hJKpMXpLP+orZXI0z K7GGycZZAD/9cki64RD8hsfoishHDJzkNVYE6l0aUFWWmCBDLQyOf3zWdJTHLbu6i1TG EXOVk2cxVBhmV5EuK0jxQowhRCFGo9GZjXlPb87UT1S6PPCdoZQSu221mWcWtgj41LmH /CL/q8heeOpC8HthLcgox4AYqkzwdmd2h64EVK8vTqOKai/rluCK01LpJq/36LM313C+ TP+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779104830; x=1779709630; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=OLKMx0XG0KEj4EtOA3tO3neraMW/tRjRnfYn5YIq3Mw=; b=rjKDEvzZEzlCCEpZiyY2ALM3KHbh+jkjU5sOYO5996C3kTRRETxmfTK66cg42rTmk8 FrbbUNtXCT3epp8LFCAhkwyBOpgsyBMZr0mx1LmPOyD1QXia7R/RK0piC0ZF68iI4QyW iO0OgOz6g3Uz9Zy2WcGc2oel0yJfLMs49XRJnhZyblgOEx0ZCp7ednjkQ/RMolTf5fLN egsuu9cJLFc0mb0RhQkfqIWdR5pT5PUgsOlEXxfsYZgHHNkB8Dpz66gR8EzNcnrmfw3F NZG7Ru3I2T4iK2qBFYBWU7atydKOfS1PQ6fIYyh6wFVu2aylWwMiLymAjgUgtszMPeVz lpBQ== X-Forwarded-Encrypted: i=1; AFNElJ/+mMpUSgnPDML/z+epXZ3tlbl9RkuSmtMZ1wVbII+BkHYokY7WvHFkGjCqN9XqLwJcrpRxND6ANRnWQ9U=@vger.kernel.org X-Gm-Message-State: AOJu0YywUyXnGC6/3qQ71T3V0DNei3ymjYIYKd8Kt0LjfFNoMYA2Wt19 hDR8NtSSOknG2QJzvfwgMZsHsle+c7G7iftASkHgAzD14fJcBiIAwwg= X-Gm-Gg: Acq92OHX9UqtVBMgdMBKEFdFlpZIY7s/HubMzN2JSi+H6hogBg13qP/K6UkS1cn6JJx NWUX9YCWkXZmteXNoLEt6m2pKlDfaya+Lt4hivXvRZDLZb1dEeICVkFmtXNje0IHjS9Go3s+jnB FqWgqcT2GnxnamUSih6Xs/Nbv3VYjQunYJfAIvcZLiEzVWvQ58OnQLD33S09miZwjGMYVobNffh Hn3A5oTwtGyNqHn86NYY9nYFgiDGwYZQT9Cajc64pxfoNSaYs8dSY6uQGqivaIaRSuyd9P/JG7K CzweR1tdGUq7NhZ8hVbxK9bHgPB36zfAAxXvsUqZQy/YkhtC6eMDhcb/rpo9wnv5fG8Q0QmJh7K gfiU1Y3ujWkc8N4xD0qsP9ztWbkPMdIluvi+GurCLNX4aJ8xJJzgbWOAzBIGENTQaKCpw+vURBk 76kbUGazV5W1dNIoLY6g6pm7GbPLV2ldmtHFmqS82l9MdXNy9WFGub+xGuUOsZaVwD/0ujmu4wJ XT+iOU0 X-Received: by 2002:a05:6000:2503:b0:43f:e43a:f4a6 with SMTP id ffacd0b85a97d-45e5c35e7bdmr22892189f8f.6.1779104830110; Mon, 18 May 2026 04:47:10 -0700 (PDT) Received: from localhost ([2a02:810d:4a94:b300:f15c:fd38:3fe1:9653]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-45da15a666fsm35365327f8f.36.2026.05.18.04.47.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 May 2026 04:47:09 -0700 (PDT) From: Florian Fuchs To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Rich Felker , John Paul Adrian Glaubitz , Adrian McMenamin , Florian Fuchs , Artur Rojek Subject: [PATCH v3 1/3] maple: fix build error due to missing include of linux/device.h Date: Mon, 18 May 2026 13:45:19 +0200 Message-ID: <20260518114521.81564-2-fuchsfl@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260518114521.81564-1-fuchsfl@gmail.com> References: <20260518114521.81564-1-fuchsfl@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The commit 313162d0b838 ("device.h: audit and cleanup users in main include dir") removed the include linux/device.h from linux/maple.h, which led to build errors as linux/maple.h embeds struct device via struct maple_device. So restore this, as it otherwise results in errors: ./include/linux/maple.h:81:16: error: field 'dev' has incomplete type struct device dev; Fixes: 313162d0b838 ("device.h: audit and cleanup users in main include dir") Cc: stable@vger.kernel.org Signed-off-by: Florian Fuchs --- v2->v3: no functional change, reword commit message, align subject to main includedir, add Cc tag v1->v2: no functional change, just rebase patch v2: https://lore.kernel.org/lkml/20260427114750.2480900-2-fuchsfl@gmail.com/ v1: https://lore.kernel.org/lkml/20251117224408.498449-2-fuchsfl@gmail.com/ include/linux/maple.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/maple.h b/include/linux/maple.h index 3be4e567473c..22f2930251ed 100644 --- a/include/linux/maple.h +++ b/include/linux/maple.h @@ -2,10 +2,9 @@ #ifndef __LINUX_MAPLE_H #define __LINUX_MAPLE_H +#include #include -struct device; - /* Maple Bus command and response codes */ enum maple_code { MAPLE_RESPONSE_FILEERR = -5, -- 2.43.0