Message ID | 20180517085850.14276-3-srinivas.kandagatla@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2011869lji; Thu, 17 May 2018 02:01:20 -0700 (PDT) X-Google-Smtp-Source: AB8JxZokjQaVmgiGuZ702jX0TPuc1UyiqkwSP17zPvG1URHn+Wpyuxup7sDwXQQO0MnkWNLhi9HM X-Received: by 2002:a1c:acc2:: with SMTP id v185-v6mr1067637wme.67.1526547680094; Thu, 17 May 2018 02:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526547680; cv=none; d=google.com; s=arc-20160816; b=KPgRyMoKJ1+JDLXaLpdR9ThshHFLLvRBzkEhXN1IYQryYooM2ggeAHV3pFuXS56btv Yu/JBWLn+EInbJLIEhMftkJyegY+2tcID8ReX8zmTx8Q3CoCYsnMBm6pwjYF+l+9G1jJ o+l7D2s28kZjBp9xGCSf14ka1jCs+6VWYXmMgnHxhp9O6hEU7/QrrwzMdBAXcPF6NcsB +Jm+DGKY/iluNRzvBAxRXG0WrcY9ZGHzLgY73Z+arzqXbDkcgYa/81Ljey76cEy7ReHR crZO8vBS7fI6MoUVJc+aWeN0Ak4XlaArvKqJNHlZT4sncXXibOnzhq5m5ePzkglq9fBX rvGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Ec58Hu8yitihYDyskG5RVGdRGkHlnD3bDX1PCknkBks=; b=WPguVA/whNooyFdKDuQ9jS+GwxNKQdfGzXU1v1OZ9x0fy1XOJcYGzAZ5Hme/SfW+Ni cOz/LyroWoW0hVvJaMp7iY2KeNG5FqC6CWOVU4Ad+Q8aJ2CuvlQbw/IT57vsWCzRRrpr bbpXHnx2vpR4xiNKU26LBs7aq13dAbIjCtqDXwnaXastF7TE6kGjgzX7Qr7GHRaOISiW FQaFeJ1s65B4iuROHBjShtCsyktCtVR01hDdEN+Fd5oID4LLG4qASCsDEBtWGTscRZK7 OBYLBrERpDAofjyldnk9Efr1DxBDh6ENxaG19fDxFUm0bHq35UDWbfvePjlxTuSyLb++ XbPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=BjDtyMyE; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id m2-v6si3671300wri.460.2018.05.17.02.01.19; Thu, 17 May 2018 02:01:20 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=BjDtyMyE; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id B73C7267388; Thu, 17 May 2018 11:01:04 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id C02F526706F; Thu, 17 May 2018 11:00:59 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by alsa0.perex.cz (Postfix) with ESMTP id 42048266DF0 for <alsa-devel@alsa-project.org>; Thu, 17 May 2018 11:00:58 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id m129-v6so7524550wmb.3 for <alsa-devel@alsa-project.org>; Thu, 17 May 2018 02:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WHl8y2e/CNxRLOFMGZ23TuP+wCFFLpgrtDsLMJiqlxg=; b=BjDtyMyE7R0oZUWc6w7kXfAphBPwLxdnLHfKtjOJWARYzAY89rRTXzwxhex7XjcmqO RPLHvN8Yp7oxa86FVUTJ4tTfYa17Vy5vWmD0gKrfDAh7O6XToUSGbF5ReJGVBZQvD/gV pWWB4W8X7WrMdqHPjVQsRT8U9kecRCGpuTzBk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WHl8y2e/CNxRLOFMGZ23TuP+wCFFLpgrtDsLMJiqlxg=; b=iIcV5vKfEwmlFdquoHw29LbZbwllstUHtPWsrwznykl50okyV9lY1VVOrdrzmoJgg1 luN4xt/pJiY/solybHFa+m6uNBsl1/r17cbthL6KiBhYX2AQmYBnLQsgaXXgCywcZCnU JHSAn+5Vdi822vS3JxBGdy8IHzABGcJ3uoPyCr10lBcZv+Bo0vpeFJ4NECjzkkGX1kFR 40vbE+O1SOvH8XVOgPy7ANRuEbbys3CfWfn+zRQUom6JcS5ZmqTuyxhcsBPf/DRpU05I GXAAeT6hVJAOCNtxy/X/q6U7vCoQQyJ0P4QLNdyQDM/wnR7ZD8SGtxjWyvw6y6w9j33M JwtQ== X-Gm-Message-State: ALKqPwduqf5Dd6OOJQ8H8SzL211nvEHV5cPJNHdH+BL3KlyRC1bEwq7R WG/s7VBZ7W3iABP5esSVRf+H+Q== X-Received: by 2002:a1c:ca1a:: with SMTP id a26-v6mr1192230wmg.126.1526547657765; Thu, 17 May 2018 02:00:57 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id y84-v6sm4123098wmg.44.2018.05.17.02.00.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 May 2018 02:00:57 -0700 (PDT) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> To: gregkh@linuxfoundation.org Date: Thu, 17 May 2018 09:58:44 +0100 Message-Id: <20180517085850.14276-3-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180517085850.14276-1-srinivas.kandagatla@linaro.org> References: <20180517085850.14276-1-srinivas.kandagatla@linaro.org> Cc: alsa-devel@alsa-project.org, srinivas.kandagatla@linaro.org, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v2 2/8] slimbus: core: rearrange slim_eaddr structure X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org |
Series |
[v2,1/8] slimbus: core: add of_slim_device_get() helper
|
expand
|
diff --git a/include/linux/slimbus.h b/include/linux/slimbus.h index efa36a852dc3..63801bcc5e60 100644 --- a/include/linux/slimbus.h +++ b/include/linux/slimbus.h @@ -14,16 +14,16 @@ extern struct bus_type slimbus_bus; /** * struct slim_eaddr - Enumeration address for a SLIMbus device - * @manf_id: Manufacturer Id for the device - * @prod_code: Product code - * @dev_index: Device index * @instance: Instance value + * @dev_index: Device index + * @prod_code: Product code + * @manf_id: Manufacturer Id for the device */ struct slim_eaddr { - u16 manf_id; - u16 prod_code; - u8 dev_index; u8 instance; + u8 dev_index; + u16 prod_code; + u16 manf_id; } __packed; /**
Rearrange struct slim_eaddr so that the structure is packed correctly to be able to send in SLIMBus messages. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --- include/linux/slimbus.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel