Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2756477yba; Mon, 22 Apr 2019 12:21:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1kcDFhMni69SbOHIlyv6enIGv2CXOdnVdJ/tZaz8VmD0T944L7+61mjZHOurFvuZtwAEA X-Received: by 2002:aa7:8458:: with SMTP id r24mr3404415pfn.231.1555960901936; Mon, 22 Apr 2019 12:21:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555960901; cv=none; d=google.com; s=arc-20160816; b=Wlc0x1RHHeITeF7/e+QmRSQMMJNNON3GrM4wVVtIcDuml/3ybavFIo5jmuKdGBRXJ/ AJVzg0XHnvg1WdSsgk2rqazTOa8MhXiL55SFsIfUEV/PWSSkk9vU4CKYtj2cX1EIqgqr HIcqqnMj10dHPmp/w9miblZMjrSRLuD2J5E+KycFChGO9WIpgm1StB6YhRmbzVhVeFZj mmJxRZDs5taDhIIV+6vt2jmqJeF9hwxkw/uuw+pwZvHxTIptu9Wg4uDpem8hZQE4cGPt VBUfZnfNpuZZFM2zdKwNc8rw3t/UrOY7eIVckHANyChR92YdFf/PIbzZgJtqQSWkdZh/ QFgg== 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=RQBvK352n6IG70PiAuF9PHJ3+pOwOrYxoqOGbDIMN+w=; b=xvDNgIbpjrtmJCC8PR03zdIYA48fP74JhnyDyZF/i2ZXCBQlmzxftqBP+hntIKi1IU RDXxcOv0Ow3vskV9rDW5cZLRfsUx/m5+pyA0aYrIYxJU6skmhNq3UOXvH3lz32OxPQqS i6uHJ7tNWKEGs9hWHOSCFZtGTyhE4vEeBrPifoavDBDbpBBZGhXoXR1jiNc7glbnY4la jipfPe4PnlNRzCh9q0Qa/+LTcNMLctzhhZbc8/+1WHpG8TUs313GVF9ngNFi1nKLV2Zy LsYWTL0pqptPKt1B7OpSzy5wG/ME3kK9sqcStXU0yZsgsCMRgkqLB6O7Xt0LYGRQ0FzW E4sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CUqEtnJ0; 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 v28si813339pgk.42.2019.04.22.12.21.26; Mon, 22 Apr 2019 12:21:41 -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=CUqEtnJ0; 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 S1727758AbfDVTKB (ORCPT + 99 others); Mon, 22 Apr 2019 15:10:01 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:46213 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726994AbfDVTKB (ORCPT ); Mon, 22 Apr 2019 15:10:01 -0400 Received: by mail-lf1-f65.google.com with SMTP id k18so9729344lfj.13 for ; Mon, 22 Apr 2019 12:10:00 -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=RQBvK352n6IG70PiAuF9PHJ3+pOwOrYxoqOGbDIMN+w=; b=CUqEtnJ0t1st5dvhmM4wWbhnrg0m9I3W9Yd1A7trOyBA3h4W0KvertWLFvYF0IFI2Q vWq0TLOQNUS6wuWiqTfBeV4Zv6yX3RFKwzMqztIg/izT/0xvl1CyF3MafQYv4Yp4StaX iE2b1PDM0uFojazdME1TFhHR1o0VQcUizKPn2H5SxA39jwGjD3NYnPCONSOuYufPwBfT lDuzmSI6xKO/X6ADfIAULXPAMi2cn5lhO+aPAY3LZKRLmCDrd/+K3TWl1VxjPEm1pdH3 nJHl4WzCMmxhVFKEJiWFaSsMuhZXln3EkxVjmWviaOqmUxsUSCn+iimPgtSaMtqb9mpW IA7w== 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=RQBvK352n6IG70PiAuF9PHJ3+pOwOrYxoqOGbDIMN+w=; b=sRI17njF22MNlnArwolv7bNBCZwurWKF3MBb2ZNo8vxuLE/KqEjdkAJVH+Y6KYYePW CpwSJBXqCLtXazDfvUId/rDcEO/HOE8whytEY8sOnFQekc6wblDdURU0rYE5Z+bka3O8 AHL3Xe7K2ECHLeOzVQuquNkVRpyj1Rbf8DaeOUqM7u9tqIyupbiMtoJ/o2kSXkFtm2Su qRpiFQkBx0Sj/TI/TBDwdOnDXxXfkqnj2HJYB31gq4hfJI+VXaskyI6PIEORkai1j3Dc ZZ+MhX+8MI4fJOOHEzmSCLscoNqcqXkqL/B6c5ykhRz34PIBOa4o2OceXiDOWJs2y2Mg KgZg== X-Gm-Message-State: APjAAAXSXT0cwAjDZHi+B3raXKh+qmBgf0ux7sTqy7ao+zoF0cwx5kuH WPbGpZPisSGlX7przRCBt8w= X-Received: by 2002:ac2:4214:: with SMTP id y20mr10802104lfh.75.1555960199361; Mon, 22 Apr 2019 12:09:59 -0700 (PDT) Received: from localhost.localdomain (80-167-223-88-cable.dk.customer.tdc.net. [80.167.223.88]) by smtp.gmail.com with ESMTPSA id m28sm3139000lfc.71.2019.04.22.12.09.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Apr 2019 12:09:58 -0700 (PDT) From: Daniel Gomez To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, dagmcr@gmail.com, javier@dowhile0.org Subject: [PATCH] spi: TI power management: add missing of table registration Date: Mon, 22 Apr 2019 21:09:50 +0200 Message-Id: <1555960190-8645-1-git-send-email-dagmcr@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MODULE_DEVICE_TABLE(of, should be called to complete DT OF mathing mechanism and register it. Before this patch: modinfo drivers/mfd/tps65912-spi.ko | grep alias alias: spi:tps65912 After this patch: modinfo drivers/mfd/tps65912-spi.ko | grep alias alias: of:N*T*Cti,tps65912C* alias: of:N*T*Cti,tps65912 alias: spi:tps65912 Reported-by: Javier Martinez Canillas Signed-off-by: Daniel Gomez --- drivers/mfd/tps65912-spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/tps65912-spi.c b/drivers/mfd/tps65912-spi.c index 3bd7506..f78be03 100644 --- a/drivers/mfd/tps65912-spi.c +++ b/drivers/mfd/tps65912-spi.c @@ -27,6 +27,7 @@ static const struct of_device_id tps65912_spi_of_match_table[] = { { .compatible = "ti,tps65912", }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, tps65912_spi_of_match_table); static int tps65912_spi_probe(struct spi_device *spi) { -- 2.7.4