public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "Maulik" <x0082077@ti.com>
To: 'Olof Johansson' <olof@lixom.net>
Cc: me@felipebalbi.com, linux-omap@vger.kernel.org,
	linux-usb@vger.kernel.org, 'Tony Lindgren' <tony@atomide.com>,
	'Felipe Balbi' <felipe.balbi@nokia.com>,
	'Greg Kroah-Hartman' <gregkh@suse.de>,
	'Sergei Shtylyov' <sshtylyov@ru.mvista.com>,
	"'Gupta, Ajay Kumar'" <ajay.gupta@ti.com>
Subject: RE: [PATCH v2 1/2] ARM : OMAP : Add empty functions in header file
Date: Tue, 5 Jan 2010 10:45:19 +0530	[thread overview]
Message-ID: <016d01ca8dc6$168f6de0$808918ac@apr.dhcp.ti.com> (raw)
In-Reply-To: <20100104152534.GA16974@lixom.net>


>>It needs to be static inline:

[Maulik] Yes that's true. 

>>And you need to make sure that the actual body of the function in the
>>C file is encapsulated with #ifdef too, since the very point of having
>>it under a config option is to not include it if it's not selected
>>and needed.

[Maulik] The actual body of the function is defined in 
drivers/usb/otg/nop-usb-xceiv.c. This file is compiled only if
CONFIG_NOP_USB_XCEIV option is selected. 

Hence I think we won't need to explicitly protect it with a #ifdef.

I shall post a new version of the patch with the changes.

Regards,
Maulik




      reply	other threads:[~2010-01-05  5:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 11:09 [PATCH v2 1/2] ARM : OMAP : Add empty functions in header file Maulik Mankad
     [not found] ` <1262603399-13036-1-git-send-email-x0082077-l0cyMroinI0@public.gmane.org>
2010-01-04 12:29   ` Gupta, Ajay Kumar
2010-01-04 12:34   ` Felipe Balbi
2010-01-04 12:48     ` Maulik
     [not found]       ` <016301ca8d3c$2d2b7f60$808918ac-wD+IZp/g4/2mHdYHvhjUOg@public.gmane.org>
2010-01-04 15:25         ` Olof Johansson
2010-01-05  5:15           ` Maulik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='016d01ca8dc6$168f6de0$808918ac@apr.dhcp.ti.com' \
    --to=x0082077@ti.com \
    --cc=ajay.gupta@ti.com \
    --cc=felipe.balbi@nokia.com \
    --cc=gregkh@suse.de \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=me@felipebalbi.com \
    --cc=olof@lixom.net \
    --cc=sshtylyov@ru.mvista.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox