Commit bfbeb71c authored by Stefan Wolz's avatar Stefan Wolz Committed by Greg Kroah-Hartman

sm750fb/sm750_hw.c: corrected alignment

Fixed alignment in multiline declarations.
Signed-off-by: default avatarStefan Wolz <wolzstefan@web.de>
Signed-off-by: default avatarChristian Halder <christian.halder@fau.de>
Signed-off-by: default avatarSebastian Handwerker <sebastian.handwerker@posteo.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c9d67dc4
...@@ -173,7 +173,8 @@ int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev) ...@@ -173,7 +173,8 @@ int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev)
} }
int hw_sm750_output_setMode(struct lynxfb_output *output, int hw_sm750_output_setMode(struct lynxfb_output *output,
struct fb_var_screeninfo *var, struct fb_fix_screeninfo *fix) struct fb_var_screeninfo *var,
struct fb_fix_screeninfo *fix)
{ {
int ret; int ret;
disp_output_t dispSet; disp_output_t dispSet;
...@@ -244,8 +245,8 @@ int hw_sm750_crtc_checkMode(struct lynxfb_crtc *crtc, struct fb_var_screeninfo * ...@@ -244,8 +245,8 @@ int hw_sm750_crtc_checkMode(struct lynxfb_crtc *crtc, struct fb_var_screeninfo *
set the controller's mode for @crtc charged with @var and @fix parameters set the controller's mode for @crtc charged with @var and @fix parameters
*/ */
int hw_sm750_crtc_setMode(struct lynxfb_crtc *crtc, int hw_sm750_crtc_setMode(struct lynxfb_crtc *crtc,
struct fb_var_screeninfo *var, struct fb_var_screeninfo *var,
struct fb_fix_screeninfo *fix) struct fb_fix_screeninfo *fix)
{ {
int ret, fmt; int ret, fmt;
u32 reg; u32 reg;
...@@ -361,7 +362,7 @@ int hw_sm750_crtc_setMode(struct lynxfb_crtc *crtc, ...@@ -361,7 +362,7 @@ int hw_sm750_crtc_setMode(struct lynxfb_crtc *crtc,
} }
int hw_sm750_setColReg(struct lynxfb_crtc *crtc, ushort index, int hw_sm750_setColReg(struct lynxfb_crtc *crtc, ushort index,
ushort red, ushort green, ushort blue) ushort red, ushort green, ushort blue)
{ {
static unsigned int add[] = {PANEL_PALETTE_RAM, CRT_PALETTE_RAM}; static unsigned int add[] = {PANEL_PALETTE_RAM, CRT_PALETTE_RAM};
...@@ -529,8 +530,8 @@ int hw_sm750_deWait(void) ...@@ -529,8 +530,8 @@ int hw_sm750_deWait(void)
} }
int hw_sm750_pan_display(struct lynxfb_crtc *crtc, int hw_sm750_pan_display(struct lynxfb_crtc *crtc,
const struct fb_var_screeninfo *var, const struct fb_var_screeninfo *var,
const struct fb_info *info) const struct fb_info *info)
{ {
uint32_t total; uint32_t total;
/* check params */ /* check params */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment