From nobody Wed Dec 17 14:22:48 2025 Received: from mail-ua1-f54.google.com (mail-ua1-f54.google.com [209.85.222.54]) (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 EDF9622A1C9 for ; Tue, 10 Dec 2024 19:56:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733860586; cv=none; b=GaQ9Kn2XWZZkM8qxNE3EnG0XPScdqKjsmwzIc+pqQr4wp6XoOPZJ/a2uzb8MqHVXg0/GbjBPE+Mw0Oju2a4P2c0v2MaT5uzA10PNHkphSrEMr/2pvUtuQ4+uAfBaNX/84mKzHClS4xzxyeTOKWB3zJc/+/DCxmxil1zsMnyt46A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733860586; c=relaxed/simple; bh=YpVt1IJK5kIz3EzNG0TljucOUwJ/2fX8gxiI1v679o0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=paKLQ9vWEReSw0lioUWpbZnYEszgDHChfLVNLYhSQ1mT08ZA1X6c8QMoID0MoRiLSw+5yjx9fKDIgNslGpdTAxQsy6Y5cuALTuD6zt1bgOb8eYfiwPvtVXJGAgvZzYyNl+Mp470XX60z4bxvysyRdglmQhaApGGtMIVoxpmMCnQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=f2U1IB2M; arc=none smtp.client-ip=209.85.222.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="f2U1IB2M" Received: by mail-ua1-f54.google.com with SMTP id a1e0cc1a2514c-85c15e283bfso1179370241.2 for ; Tue, 10 Dec 2024 11:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733860584; x=1734465384; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Wo4Brw2DCcVsJ26CFqfG+Q/anJpN5TVrr8Upgev/TjM=; b=f2U1IB2MM4pHGi6h3UpxH8PSKZ6clBOZPiOblYq05btEOJIzc9916Snj4+Jp3OQrHc UbvDG3LfFc3Z0BRlooNqPPrd4cnYfDF0JLbzINax0Rxoefm2NTjD8j7ZpsZLAoOOXaJd dfX8rHqUmXbJYJfP4XmDlydxxCMXboiPEZPAY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733860584; x=1734465384; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Wo4Brw2DCcVsJ26CFqfG+Q/anJpN5TVrr8Upgev/TjM=; b=Um2bVk1tEVya7RYVLOXFhJE1CwRRDE2iDWXumzgvSvygBn5rW+C34ye8Kr8QszQrx6 iAvPnfVZrsT63MQdvTW2Eyqsb15N7b6qRM2DgcuGT6poq6G8s1gl1Sr5G71+m04wznzI hPAnEB2atxjIF2wq+p4E19S3uuWvYKMEd8l0l5iaQ82dSg/A47VgR8JcqG4GayHjdPpF yV9sOWNvtXgiHhEJ/yso86FdloJRfCWSTqC4P5fuDvxD6WH+HI30r20XPp/24icCDsSC mU/562o/Fbid5aRSH8RuigJtRXuoPifFbha3k33eoTd1mog3dyHLWee0sx9p/KZODJib Nlmg== X-Forwarded-Encrypted: i=1; AJvYcCV1GmDGhgMltZ5R+FDaPSP19yeJ7vy184u4CcaZC3Hjbv+5jw67pT9ZI8UUWQxZ20c4ZfLt0qsHG35N7NI=@vger.kernel.org X-Gm-Message-State: AOJu0YxGpbkpMQKcxSjVC/Bq08wwPIVVTsvWcvXtoP7SqZeXakG02jun NX/XTYdDLuI/l5ge3zWae1snltXcd2qCPNSyQ5yof0y9wEGlt9IJfBAeTr3iGA== X-Gm-Gg: ASbGnctXBB1Tx1oBbXVR0e1C8gHx/lT7WZqFvB3ex3uizzgP/1/SYiuvwXKOZEw/Xo5 s2eozODLZLbE5SQpYB45dHL15lVMZUbYBkQ/adVoehEdIJcMBdqVEp0kiikvTNpMnKRULpz+Eyg OnMZVnf9uzd2dP4P3sJSbsLqQeImCoYnbOi9/obryeadiLoJiMdEO/9vZZ3JhJ/eSta1WohK8dJ +26j4DVcwBrImSw5WmcGbGR9oYZdpi3IgaMy+qaXrBu29I5EHLU45QBoebpC4Xn5alRgkpa9/pM v6YZsfTEPkJvqBJs+mHhwMXZxiF5 X-Google-Smtp-Source: AGHT+IEmzXYFoUfqOj/dIppTnK2q1X3UMKlfoOVpixdTmMHqeSiokiuDcOibXmJMwEkU4cB2noY0sQ== X-Received: by 2002:a05:6102:5092:b0:4af:bef2:c8df with SMTP id ada2fe7eead31-4b1290d6f1fmr862642137.17.1733860584010; Tue, 10 Dec 2024 11:56:24 -0800 (PST) Received: from denia.c.googlers.com (5.236.236.35.bc.googleusercontent.com. [35.236.236.5]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-85c2ba7dc70sm1279522241.15.2024.12.10.11.56.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 11:56:22 -0800 (PST) From: Ricardo Ribalda Date: Tue, 10 Dec 2024 19:56:03 +0000 Subject: [PATCH v3 6/7] ACPI: bus: implement acpi_device_hid when !ACPI Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241210-fix-ipu-v3-6-00e409c84a6c@chromium.org> References: <20241210-fix-ipu-v3-0-00e409c84a6c@chromium.org> In-Reply-To: <20241210-fix-ipu-v3-0-00e409c84a6c@chromium.org> To: Mauro Carvalho Chehab , "Rafael J. Wysocki" , Len Brown , Robert Moore , "Rafael J. Wysocki" Cc: Sakari Ailus , Dan Carpenter , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev, Ricardo Ribalda X-Mailer: b4 0.13.0 Provide an implementation of acpi_device_hid that can be used when CONFIG_ACPI is not set. Signed-off-by: Ricardo Ribalda Reviewed-by: Sakari Ailus --- include/acpi/acpi_bus.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 4f1b3a6f107b..c25914a152ee 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -1003,6 +1003,11 @@ static inline int unregister_acpi_bus_type(void *bus= ) { return 0; } =20 static inline int acpi_wait_for_acpi_ipmi(void) { return 0; } =20 +static inline const char *acpi_device_hid(struct acpi_device *device) +{ + return ""; +} + static inline acpi_status acpi_get_physical_device_location(acpi_handle handle, struct acpi_pld_info= **pld) { --=20 2.47.0.338.g60cca15819-goog