Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752367AbdDCKNW (ORCPT ); Mon, 3 Apr 2017 06:13:22 -0400 Received: from ozlabs.org ([103.22.144.67]:50407 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752028AbdDCKNV (ORCPT ); Mon, 3 Apr 2017 06:13:21 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: adec9a2e7ca3b4193818f9a7b39563851b180711 In-Reply-To: <1461689378-10978-1-git-send-email-yang.shi@windriver.com> To: yshi , , , , , , From: Michael Ellerman Cc: linux-kernel@vger.kernel.org Subject: Re: powerpc/4xx: make sam440ep_setup_rtc init Message-Id: <3vxSbz0Gymz9s81@ozlabs.org> Date: Mon, 3 Apr 2017 20:13:18 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 403 Lines: 12 On Tue, 2016-04-26 at 16:49:38 UTC, yshi wrote: > sam440ep_setup_rtc is just called by machine_device_initcall, and it calls > i2c_register_board_info which is init too, so the lack of __init may cause > mismatch warning when linking kernel. > > Signed-off-by: Yang Shi Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/adec9a2e7ca3b4193818f9a7b39563 cheers