1. 18 4月, 2017 2 次提交
    • J
      [media] et8ek8: Export OF device ID as module aliases · 9ae05fd1
      Javier Martinez Canillas 提交于
      The I2C core always reports a MODALIAS of the form i2c:<foo> even if the
      device was registered via OF, this means that exporting the OF device ID
      table device aliases in the module is not needed. But in order to change
      how the core reports modaliases to user-space, it's better to export it.
      
      Before this patch:
      
      $ modinfo drivers/media/i2c/et8ek8/et8ek8.ko | grep alias
      alias:          i2c:et8ek8
      
      After this patch:
      
      $ modinfo drivers/media/i2c/et8ek8/et8ek8.ko | grep alias
      alias:          i2c:et8ek8
      alias:          of:N*T*Ctoshiba,et8ek8C*
      alias:          of:N*T*Ctoshiba,et8ek8
      Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      9ae05fd1
    • B
      [media] media: pci: constify stv0299_config structures · 650497f1
      Bhumika Goyal 提交于
      Declare stv0299_config structures as const as they are only passed as
      an argument to the function dvb_attach. dvb_attach
      calls its first argument on the rest of its arguments. The first
      argument of dvb_attach in the changed cases is stv0299_attach and
      the parameter of this function to which the object references are passed
      is of type const. So, stv0299_config structures having this property
      can be made const.
      
      First line shows the file size before patching and second one shows size
      after patching.
      
         text	   data	    bss	    dec	    hex	filename
         9572	    926	     40	  10538	   292a media/pci/dm1105/dm1105.o
         9636	    862	     40	  10538	   292a media/pci/dm1105/dm1105.o
      
        15133	   5408	      0	  20541	   503d	media/pci/ttpci/budget-av.o
        15389	   5152	      0	  20541	   503d media/pci/ttpci/budget-av.o
      
        15703	   2326	     36	  18065	   4691	media/pci/ttpci/budget-ci.o
        15767	   2262	     36	  18065	   4691 media/pci/ttpci/budget-ci.o
      
        10555	   1918	      4	  12477	   30bd	drivers/media/pci/ttpci/budget.o
        10683	   1822	      4	  12509	   30dd	drivers/media/pci/ttpci/budget.o
      Signed-off-by: NBhumika Goyal <bhumirks@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      650497f1
  2. 17 4月, 2017 7 次提交
  3. 15 4月, 2017 30 次提交
  4. 11 4月, 2017 1 次提交