mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
video: fbdev: intelfb: move inline before return type
Make the code like the rest of the kernel. But there is an oddity here because the inline should probably be removed. It's an extern function in intelfb.h and it is used in intelfbdrv.c and intelfbhw.c. The inline is kept here as I suppose it's possible for some compiler to make the uses inline in intelfbdrv and and also create an external function for intelfbhw. Link: http://lkml.kernel.org/r/8ba151a1fdc84e42cbf4aafc798513c0158edee1.1499284835.git.joe@perches.com Signed-off-by: Joe Perches <[email protected]> Cc: Maik Broemme <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
4abf87f41a
commit
dce3944717
1 changed files with 1 additions and 1 deletions
|
|
@ -907,7 +907,7 @@ static void intelfb_pci_unregister(struct pci_dev *pdev)
|
|||
* helper functions *
|
||||
***************************************************************/
|
||||
|
||||
int __inline__ intelfb_var_to_depth(const struct fb_var_screeninfo *var)
|
||||
__inline__ int intelfb_var_to_depth(const struct fb_var_screeninfo *var)
|
||||
{
|
||||
DBG_MSG("intelfb_var_to_depth: bpp: %d, green.length is %d\n",
|
||||
var->bits_per_pixel, var->green.length);
|
||||
|
|
|
|||
Loading…
Reference in a new issue