mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-03 23:37:40 -04:00
staging: sm750fb: rename initParm to init_parm
The Linux kernel coding style prefers snake_case over CamelCase for variable names. Rename the 'initParm' member to 'init_parm' to comply with this standard. Signed-off-by: Madhumitha Sundar <madhuananda18@gmail.com> Link: https://patch.msgid.link/20260127121148.36632-1-madhuananda18@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2c1312898d
commit
cc34db609f
@@ -918,12 +918,12 @@ static void sm750fb_setup(struct sm750_dev *sm750_dev, char *src)
|
||||
|
||||
swap = 0;
|
||||
|
||||
sm750_dev->initParm.chip_clk = 0;
|
||||
sm750_dev->initParm.mem_clk = 0;
|
||||
sm750_dev->initParm.master_clk = 0;
|
||||
sm750_dev->initParm.powerMode = 0;
|
||||
sm750_dev->initParm.setAllEngOff = 0;
|
||||
sm750_dev->initParm.resetMemory = 1;
|
||||
sm750_dev->init_parm.chip_clk = 0;
|
||||
sm750_dev->init_parm.mem_clk = 0;
|
||||
sm750_dev->init_parm.master_clk = 0;
|
||||
sm750_dev->init_parm.powerMode = 0;
|
||||
sm750_dev->init_parm.setAllEngOff = 0;
|
||||
sm750_dev->init_parm.resetMemory = 1;
|
||||
|
||||
/* defaultly turn g_hwcursor on for both view */
|
||||
g_hwcursor = 3;
|
||||
|
||||
@@ -102,7 +102,7 @@ struct sm750_dev {
|
||||
/* locks*/
|
||||
spinlock_t slock;
|
||||
|
||||
struct init_status initParm;
|
||||
struct init_status init_parm;
|
||||
enum sm750_pnltype pnltype;
|
||||
enum sm750_dataflow dataflow;
|
||||
int nocrt;
|
||||
|
||||
@@ -93,7 +93,7 @@ int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev)
|
||||
{
|
||||
struct init_status *parm;
|
||||
|
||||
parm = &sm750_dev->initParm;
|
||||
parm = &sm750_dev->init_parm;
|
||||
if (parm->chip_clk == 0)
|
||||
parm->chip_clk = (sm750_get_chip_type() == SM750LE) ?
|
||||
DEFAULT_SM750LE_CHIP_CLOCK :
|
||||
@@ -104,7 +104,7 @@ int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev)
|
||||
if (parm->master_clk == 0)
|
||||
parm->master_clk = parm->chip_clk / 3;
|
||||
|
||||
ddk750_init_hw((struct initchip_param *)&sm750_dev->initParm);
|
||||
ddk750_init_hw((struct initchip_param *)&sm750_dev->init_parm);
|
||||
/* for sm718, open pci burst */
|
||||
if (sm750_dev->devid == 0x718) {
|
||||
poke32(SYSTEM_CTRL,
|
||||
|
||||
Reference in New Issue
Block a user