Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: [PATCH -next] drivers/staging/sm7xx: add a new framebuffer driver
       [not found] <1257673141-1646-1-git-send-email-wuzhangjin@gmail.com>
@ 2009-11-19 19:38 ` Greg KH
  2009-11-20  2:17 ` Wu Zhangjin
  1 sibling, 0 replies; 2+ messages in thread
From: Greg KH @ 2009-11-19 19:38 UTC (permalink / raw)
  To: Wu
  Cc: Greg Kroah-Hartman, Ralf Baechle, devel, linux-mips, Teddy Wang,
	huhb, yanh

On Sun, Nov 08, 2009 at 05:39:01PM +0800, Wu wrote:
> From: Wu Zhangjin <wuzhangjin@gmail.com>
> 
> Yeeloong(2f) netbook has a sm712 video card, need this driver, but it is
> not ready to upstream yet, so, go to drivers/staing at first.
> 
> This source code is originally from Silicon Motion Technology Corp, and
> maintained in http://dev.lemote.com/code/linux_loongson
> 
> Thanks Simon for testing it on a little-endian x86 platform.
> 
> Thanks Olivier Croset <olivier.croset@actis-computer.com> for reporting
> the problem about __BIG_ENDIAN compiling problem and send a relative
> patch.
> 
> The suspend/resume and blank support are contributed by Jason from
> Silicon Motion Technology.
> 
> (Hi, Ralf, Could you please merge it into your linux-mips? So, we can
>  get a complete lemote-2f support with the last patchset.)

Ralf, want to take this through your tree or mine?

I don't care either way.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] drivers/staging/sm7xx: add a new framebuffer driver
       [not found] <1257673141-1646-1-git-send-email-wuzhangjin@gmail.com>
  2009-11-19 19:38 ` [PATCH -next] drivers/staging/sm7xx: add a new framebuffer driver Greg KH
@ 2009-11-20  2:17 ` Wu Zhangjin
  1 sibling, 0 replies; 2+ messages in thread
From: Wu Zhangjin @ 2009-11-20  2:17 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Ralf Baechle, devel, linux-mips, Teddy Wang, huhb, yanh

On Sun, 2009-11-08 at 17:39 +0800, Wu wrote:
[...]
> +/* Jason (08/14/2009)
> + * suspend function, called when the suspend event is triggered
> + */
> +static int smtcfb_suspend(struct pci_dev *pdev, pm_message_t msg)
> +{

__maybe_unused is needed before smtcfb_suspend() to let gcc not complain
about "function defined but not used" when CONFIG_PM is disabled.

[...]
> +static int smtcfb_resume(struct pci_dev *pdev)
> +{

Here too.

> +static struct pci_driver smtcfb_driver = {
> +	.name = "smtcfb",
> +	.id_table = smtcfb_pci_table,
> +	.probe = smtcfb_pci_probe,
> +	.remove = __devexit_p(smtcfb_pci_remove),
> +#ifdef CONFIG_PM
> +	.suspend = smtcfb_suspend,
> +	.resume = smtcfb_resume,
> +#endif
> +};
> +

Best Regards,
	Wu Zhangjin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-20  2:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1257673141-1646-1-git-send-email-wuzhangjin@gmail.com>
2009-11-19 19:38 ` [PATCH -next] drivers/staging/sm7xx: add a new framebuffer driver Greg KH
2009-11-20  2:17 ` Wu Zhangjin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox