[staging:staging-next 93/99] drivers/staging/sm7xxfb/sm7xxfb.c:1061:1: warning: data definition has no type or storage class

Dan Carpenter dan.carpenter at oracle.com
Thu Jul 12 08:02:36 UTC 2012


On Thu, Jul 12, 2012 at 01:18:10PM +0545, devendra.aaru wrote:
> On Thu, Jul 12, 2012 at 12:24 PM, Fengguang Wu <fengguang.wu at intel.com> wrote:
> > vim +1061 drivers/staging/sm7xxfb/sm7xxfb.c
> >   1058          .driver.pm  = SM7XX_PM_OPS,
> >   1059  };
> >   1060
> >> 1061  module_pci_driver(smtcfb_driver);
> >   1062
> >   1063  MODULE_AUTHOR("Siliconmotion ");
> >   1064  MODULE_DESCRIPTION("Framebuffer driver for SMI Graphic Cards");
> >
> Hello,
>     I think CONFIG_PCI is set to n. so that we got this warnings.
>     In Kconfig of drivers/staging/sm7xxfb if we set depends on FB &&
> PCI solves this problem oneway.
>  But i m really not-sure about if this is the valid fix.
> 

Depends on PCI is correct.  Send a patch.

regards,
dan carpenter





More information about the devel mailing list