From patchwork Wed Oct 23 12:41:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 11206685 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 64DAC1390 for ; Wed, 23 Oct 2019 12:42:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4C00821906 for ; Wed, 23 Oct 2019 12:42:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390427AbfJWMmP (ORCPT ); Wed, 23 Oct 2019 08:42:15 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:46397 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389887AbfJWMmP (ORCPT ); Wed, 23 Oct 2019 08:42:15 -0400 Received: by mail-lj1-f193.google.com with SMTP id d1so20905706ljl.13; Wed, 23 Oct 2019 05:42:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=kQcNlSjXQd9kUXGNlIQxjvubKLwEBgtwHBAUWhoJSUo=; b=RLwZOE4I9m8jfKeHOzrw1/MTSF29HoL3SdyPRi7cL+3lpzp17iEpxmrM1nEEQlCQWS rEUOszMLaFKknu4qElVzpANJgTtviAiDq5xfGtQUwHxSWpZhiwFwmmywXMR3tpfnfrMo sJvdn0WVViK9DIq2TgImBgPcqD6pjbl8BVY4JNkN1kRY1/ugi21YyIoqMeKuKjcosBHV aCozKnpLmO2nxc0Ad8YPDIJMKlreFi4v99mFm3Ho3d7ZQwC02RABk7UBi9t/CQ+0PJcq 3hx9pjMluXdYW1TyptgpKx61LbxcZnKOimbJMQMBVH5jLmT+6ZQrguaeCIqWtbaBkJop a/yQ== X-Gm-Message-State: APjAAAWjJcnBiNXOh2f3qfzy88hf2K1qhh++4qMlvj/JEAQK4EGcZy5c /h+euj8yRFEM+/qoRb5uhq4= X-Google-Smtp-Source: APXvYqx0/8+u+gdKO6hPWbAni56ZxUpm0GD4YFDTDuu/OepdORNRBC+v14ZTlSNfLqzJtLtwglJysQ== X-Received: by 2002:a2e:9f08:: with SMTP id u8mr15766019ljk.124.1571834532558; Wed, 23 Oct 2019 05:42:12 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.46]) by smtp.gmail.com with ESMTPSA id x26sm5134522lfq.89.2019.10.23.05.42.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 05:42:11 -0700 (PDT) Date: Wed, 23 Oct 2019 15:41:59 +0300 From: Matti Vaittinen To: matti.vaittinen@fi.rohmeurope.com, mazziesaccount@gmail.com Cc: Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] watchdog: bd70528: Add MODULE_ALIAS to allow module auto loading Message-ID: <20191023124159.GA3490@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org The bd70528 watchdog driver is probed by MFD driver. Add MODULE_ALIAS in order to allow udev to load the module when MFD sub-device cell for watchdog is added. Fixes: bbc88a0ec9f37 ("watchdog: bd70528: Initial support for ROHM BD70528 watchdog block") Signed-off-by: Matti Vaittinen Reviewed-by: Guenter Roeck --- I'm not really sure if this is a bug-fix or feature but I guess the Fixes tag won't harm, right? drivers/watchdog/bd70528_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/bd70528_wdt.c b/drivers/watchdog/bd70528_wdt.c index b0152fef4fc7..bc60e036627a 100644 --- a/drivers/watchdog/bd70528_wdt.c +++ b/drivers/watchdog/bd70528_wdt.c @@ -288,3 +288,4 @@ module_platform_driver(bd70528_wdt); MODULE_AUTHOR("Matti Vaittinen "); MODULE_DESCRIPTION("BD70528 watchdog driver"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:bd70528-wdt");