Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2659060ybh; Mon, 9 Mar 2020 10:17:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvXp9qYl0b2DaO+mRbw+6p07FGrjQTCDQRROSCYj/Ue3p6Ysj4m5OiUBK3qmlU6uM8RGC0A X-Received: by 2002:aca:de07:: with SMTP id v7mr194781oig.22.1583774247098; Mon, 09 Mar 2020 10:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583774247; cv=none; d=google.com; s=arc-20160816; b=xDrbEhxdrkwkdDZ8AymU00C1WooJFMW6L0oZkkCAtvSrCKG8TLFqvIasBT5/iSvxEq r1rWsGk+kqsXU5uras/MC3B7zL2eHZzzM3fK82Hky0YgqmwgSsEEg80H9uDEi6bx9GIj t1NcYphJRjc5iHFXvajQ7gONHcQsD0j17yjGzznew02tVVpXXS0knZOYQGhExgWJuxsr K9Qid0p5v0KchuE5oVX9NjIfWxgDJlddAtKAiCByE8+Ienpb6MdDcALrPzLmjJKJU/5T rsWR2Ty9di57OlVTMcFnBZU35Yam0RSbzHlKp4N/Jef7VSk1TzbcomIeh8EqOoZtXNwV YLxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=aQaEz5n43Zv/bRgX8rTrwpFJGgT572GHf6K14yTbgTc=; b=rQwsChky5MojGRakcwwEI8h5ZZOmn/iacm+n/PYW7ByedzCOPUAz/WZIUCk8a/NCFk 8rMKoo1CFRcboh2m4aYql0lLPAqzt7y3PJwVV/cwDXnTTXT9hBS/N3EyvdgHxclIPMxH hlnzcqo5BaaLUspdFJgVf1ovSYB6a6ECaVTHhzXqFrQf3VrC+9olXamvZQGaVLzbcK9K saUF/qYIw2wRn0tV/fCBOVFQtsDz8MfImwDBQQHRiqkOuW+WosaB35QYkKZQFBil/C2B 9hiPqTIQxEK1+lzfjiVYReMAL/K+WNG5De94lio2Af45rI8uE2VxeLyHiy9USr0xUw7A 8s9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QDYaXBJk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e10si3094273otk.41.2020.03.09.10.17.15; Mon, 09 Mar 2020 10:17:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QDYaXBJk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727255AbgCIRQY (ORCPT + 99 others); Mon, 9 Mar 2020 13:16:24 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:42011 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727195AbgCIRQY (ORCPT ); Mon, 9 Mar 2020 13:16:24 -0400 Received: by mail-pl1-f195.google.com with SMTP id t3so1985052plz.9; Mon, 09 Mar 2020 10:16:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=aQaEz5n43Zv/bRgX8rTrwpFJGgT572GHf6K14yTbgTc=; b=QDYaXBJk9xBthEaQNh+gxQ88iXlNOPsMKsSDCxj7OkpI7OfwJFwLO8Asxvvhkxg5BV UWk/vPNpZiko4pfSCNz5xrk9/hQyY2nd3FFvlctZqIlK23+ELZZ31/BLT5XZIjOKwM67 ibgnaH2TGIPBGviAdXotmEwQXQfg4MvwQ79EZAY0t4xlY4BZ47Wu9Qrm5zjJ9tgdiQDD Is+4oKO9s6sxQGfcdoyaggwBlVyKnqYD5jFxa4u2FEz+Bdi7f/KK2bbytYYyUIkEitQP qM/hsPe9a4HkSFibumar+FWnkb/7Moh9DTToWErSB6kD3LD02hdxmY+AYJnwXlKzNE58 Nfyg== 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; bh=aQaEz5n43Zv/bRgX8rTrwpFJGgT572GHf6K14yTbgTc=; b=A+5hRq0Ka1Pd2Gz2AcCOfoPjzEblEuxX7fSGB9LlkaqC7NKYN9x5mUH1KSRhszN64I /LAVUm7ZU92AKPywk2mU2xSM/aofu6ZX8GFWvN1cl751GYQWywZKEHZTM4TaAJ+ajHYL 6wYlzclxSQruRktfClNWMznDhaRKcm6U9Fa4HQUCEUTLbnRlILZdW2/rLj6zYCgAW1wa tQhyM8FO7e8mJyaQqGZSN2FWYT2aF+91cjvhQ3/y8RLYw/Xx67MxWu9L5LkCt4OilUE8 mDMZMCkgzmA9YXRfhYTT9FmnBrknLfNp04DbRo6S32UsmtHCrheCdc+j9eOGBCgRJyog PXMQ== X-Gm-Message-State: ANhLgQ3EFYVI63Eo5uRhmkt4hR8IoFsPlLY3JxDwOnmqzvSnwDUQ0do+ MoaHDPegFaDPbWgGUT9fpgo= X-Received: by 2002:a17:90a:ab0a:: with SMTP id m10mr310824pjq.105.1583774183135; Mon, 09 Mar 2020 10:16:23 -0700 (PDT) Received: from VM_0_35_centos.localdomain ([150.109.62.251]) by smtp.gmail.com with ESMTPSA id u23sm45039835pfm.29.2020.03.09.10.16.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Mar 2020 10:16:22 -0700 (PDT) From: Qiujun Huang To: broonie@kernel.org Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Qiujun Huang Subject: [PATCH] spi: update the structure documentation Date: Tue, 10 Mar 2020 01:16:19 +0800 Message-Id: <1583774179-30736-1-git-send-email-hqjagain@gmail.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org some members were not described in documentation. Signed-off-by: Qiujun Huang --- include/linux/spi/spi.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 6d16ba0..2f28692 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -135,6 +135,8 @@ struct spi_delay { * @modalias: Name of the driver to use with this device, or an alias * for that name. This appears in the sysfs "modalias" attribute * for driver coldplugging, and in uevents used for hotplugging + * @driver_override: If the name of a driver is written to this attribute, then + * the device will bind to the named driver and only the named driver. * @cs_gpio: LEGACY: gpio number of the chipselect line (optional, -ENOENT when * not using a GPIO line) use cs_gpiod in new drivers by opting in on * the spi_master. @@ -443,6 +445,7 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv) * @spi_transfer->ptp_sts_word_post were transmitted. * If the driver does not set this, the SPI core takes the snapshot as * close to the driver hand-over as possible. + * @irq_flags: Interrupt enable state during PTP system timestamping * * Each SPI controller can communicate with one or more @spi_device * children. These make a small bus, sharing MOSI, MISO and SCK signals -- 1.8.3.1