Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932609AbbHDU7y (ORCPT ); Tue, 4 Aug 2015 16:59:54 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:59943 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754691AbbHDU7J (ORCPT ); Tue, 4 Aug 2015 16:59:09 -0400 Message-ID: <55C12781.1070007@ti.com> Date: Tue, 4 Aug 2015 15:58:41 -0500 From: Dave Gerlach User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Tony Lindgren CC: , , , , Jassi Brar , Santosh Shilimkar , Suman Anna , Keerthy Subject: Re: [PATCH v2 3/3] soc: ti: Add wkup_m3_ipc driver References: <1437166592-25378-1-git-send-email-d-gerlach@ti.com> <1437166592-25378-4-git-send-email-d-gerlach@ti.com> <20150720061559.GX17550@atomide.com> In-Reply-To: <20150720061559.GX17550@atomide.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [128.247.9.225] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 984 Lines: 33 On 07/20/2015 01:16 AM, Tony Lindgren wrote: > * Dave Gerlach [150717 13:59]: >> + >> +/* Public functions */ > ... >> +EXPORT_SYMBOL_GPL(wkup_m3_set_mem_type); >> +EXPORT_SYMBOL_GPL(wkup_m3_set_resume_address); >> +EXPORT_SYMBOL_GPL(wkup_m3_request_pm_status); >> +EXPORT_SYMBOL_GPL(wkup_m3_prepare_low_power); >> +EXPORT_SYMBOL_GPL(wkup_m3_finish_low_power); > > I think you can avoid exporting these SoC specific functions > by just exporting wkup_m3_request() and wkup_m3_free() type > functions with a data structure containing the necessary > function pointers. Ok thanks for the comment, I can try that change out, I agree it probably isn't necessary to export so much. Regards, Dave > > Regards, > > Tony > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/