diff options
author | Sundar Iyer <sundar.iyer@stericsson.com> | 2010-12-03 10:05:52 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@stericsson.com> | 2010-12-08 07:15:12 -0500 |
commit | 592b2f254d68b6eb8665658cc7d8fc3cd61ebc94 (patch) | |
tree | 0c066274eb104a9056fd85fd4037b88657b9519f /arch/arm/mach-ux500/clock.c | |
parent | f306954c9b69aa21bd26724c59ac8c98b7d6e003 (diff) |
mach-ux500: clean up checkpatch spits
Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/clock.c')
-rw-r--r-- | arch/arm/mach-ux500/clock.c | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/arch/arm/mach-ux500/clock.c b/arch/arm/mach-ux500/clock.c index a7cd0d55828e..3d4e8eb403ba 100644 --- a/arch/arm/mach-ux500/clock.c +++ b/arch/arm/mach-ux500/clock.c | |||
@@ -335,92 +335,92 @@ static DEFINE_PRCMU_CLK(uiccclk, 0x4, 1, UICCCLK); /* v1 */ | |||
335 | */ | 335 | */ |
336 | 336 | ||
337 | /* Peripheral Cluster #1 */ | 337 | /* Peripheral Cluster #1 */ |
338 | static DEFINE_PRCC_CLK(1, i2c4, 10, 9, &clk_i2cclk); | 338 | static DEFINE_PRCC_CLK(1, i2c4, 10, 9, &clk_i2cclk); |
339 | static DEFINE_PRCC_CLK(1, gpio0, 9, -1, NULL); | 339 | static DEFINE_PRCC_CLK(1, gpio0, 9, -1, NULL); |
340 | static DEFINE_PRCC_CLK(1, slimbus0, 8, 8, &clk_slimclk); | 340 | static DEFINE_PRCC_CLK(1, slimbus0, 8, 8, &clk_slimclk); |
341 | static DEFINE_PRCC_CLK(1, spi3_ed, 7, 7, NULL); | 341 | static DEFINE_PRCC_CLK(1, spi3_ed, 7, 7, NULL); |
342 | static DEFINE_PRCC_CLK(1, spi3_v1, 7, -1, NULL); | 342 | static DEFINE_PRCC_CLK(1, spi3_v1, 7, -1, NULL); |
343 | static DEFINE_PRCC_CLK(1, i2c2, 6, 6, &clk_i2cclk); | 343 | static DEFINE_PRCC_CLK(1, i2c2, 6, 6, &clk_i2cclk); |
344 | static DEFINE_PRCC_CLK(1, sdi0, 5, 5, &clk_sdmmcclk); | 344 | static DEFINE_PRCC_CLK(1, sdi0, 5, 5, &clk_sdmmcclk); |
345 | static DEFINE_PRCC_CLK(1, msp1_ed, 4, 4, &clk_msp02clk); | 345 | static DEFINE_PRCC_CLK(1, msp1_ed, 4, 4, &clk_msp02clk); |
346 | static DEFINE_PRCC_CLK(1, msp1_v1, 4, 4, &clk_msp1clk); | 346 | static DEFINE_PRCC_CLK(1, msp1_v1, 4, 4, &clk_msp1clk); |
347 | static DEFINE_PRCC_CLK(1, msp0, 3, 3, &clk_msp02clk); | 347 | static DEFINE_PRCC_CLK(1, msp0, 3, 3, &clk_msp02clk); |
348 | static DEFINE_PRCC_CLK(1, i2c1, 2, 2, &clk_i2cclk); | 348 | static DEFINE_PRCC_CLK(1, i2c1, 2, 2, &clk_i2cclk); |
349 | static DEFINE_PRCC_CLK(1, uart1, 1, 1, &clk_uartclk); | 349 | static DEFINE_PRCC_CLK(1, uart1, 1, 1, &clk_uartclk); |
350 | static DEFINE_PRCC_CLK(1, uart0, 0, 0, &clk_uartclk); | 350 | static DEFINE_PRCC_CLK(1, uart0, 0, 0, &clk_uartclk); |
351 | 351 | ||
352 | /* Peripheral Cluster #2 */ | 352 | /* Peripheral Cluster #2 */ |
353 | 353 | ||
354 | static DEFINE_PRCC_CLK(2, gpio1_ed, 12, -1, NULL); | 354 | static DEFINE_PRCC_CLK(2, gpio1_ed, 12, -1, NULL); |
355 | static DEFINE_PRCC_CLK(2, ssitx_ed, 11, -1, NULL); | 355 | static DEFINE_PRCC_CLK(2, ssitx_ed, 11, -1, NULL); |
356 | static DEFINE_PRCC_CLK(2, ssirx_ed, 10, -1, NULL); | 356 | static DEFINE_PRCC_CLK(2, ssirx_ed, 10, -1, NULL); |
357 | static DEFINE_PRCC_CLK(2, spi0_ed, 9, -1, NULL); | 357 | static DEFINE_PRCC_CLK(2, spi0_ed, 9, -1, NULL); |
358 | static DEFINE_PRCC_CLK(2, sdi3_ed, 8, 6, &clk_sdmmcclk); | 358 | static DEFINE_PRCC_CLK(2, sdi3_ed, 8, 6, &clk_sdmmcclk); |
359 | static DEFINE_PRCC_CLK(2, sdi1_ed, 7, 5, &clk_sdmmcclk); | 359 | static DEFINE_PRCC_CLK(2, sdi1_ed, 7, 5, &clk_sdmmcclk); |
360 | static DEFINE_PRCC_CLK(2, msp2_ed, 6, 4, &clk_msp02clk); | 360 | static DEFINE_PRCC_CLK(2, msp2_ed, 6, 4, &clk_msp02clk); |
361 | static DEFINE_PRCC_CLK(2, sdi4_ed, 4, 2, &clk_sdmmcclk); | 361 | static DEFINE_PRCC_CLK(2, sdi4_ed, 4, 2, &clk_sdmmcclk); |
362 | static DEFINE_PRCC_CLK(2, pwl_ed, 3, 1, NULL); | 362 | static DEFINE_PRCC_CLK(2, pwl_ed, 3, 1, NULL); |
363 | static DEFINE_PRCC_CLK(2, spi1_ed, 2, -1, NULL); | 363 | static DEFINE_PRCC_CLK(2, spi1_ed, 2, -1, NULL); |
364 | static DEFINE_PRCC_CLK(2, spi2_ed, 1, -1, NULL); | 364 | static DEFINE_PRCC_CLK(2, spi2_ed, 1, -1, NULL); |
365 | static DEFINE_PRCC_CLK(2, i2c3_ed, 0, 0, &clk_i2cclk); | 365 | static DEFINE_PRCC_CLK(2, i2c3_ed, 0, 0, &clk_i2cclk); |
366 | 366 | ||
367 | static DEFINE_PRCC_CLK(2, gpio1_v1, 11, -1, NULL); | 367 | static DEFINE_PRCC_CLK(2, gpio1_v1, 11, -1, NULL); |
368 | static DEFINE_PRCC_CLK(2, ssitx_v1, 10, 7, NULL); | 368 | static DEFINE_PRCC_CLK(2, ssitx_v1, 10, 7, NULL); |
369 | static DEFINE_PRCC_CLK(2, ssirx_v1, 9, 6, NULL); | 369 | static DEFINE_PRCC_CLK(2, ssirx_v1, 9, 6, NULL); |
370 | static DEFINE_PRCC_CLK(2, spi0_v1, 8, -1, NULL); | 370 | static DEFINE_PRCC_CLK(2, spi0_v1, 8, -1, NULL); |
371 | static DEFINE_PRCC_CLK(2, sdi3_v1, 7, 5, &clk_sdmmcclk); | 371 | static DEFINE_PRCC_CLK(2, sdi3_v1, 7, 5, &clk_sdmmcclk); |
372 | static DEFINE_PRCC_CLK(2, sdi1_v1, 6, 4, &clk_sdmmcclk); | 372 | static DEFINE_PRCC_CLK(2, sdi1_v1, 6, 4, &clk_sdmmcclk); |
373 | static DEFINE_PRCC_CLK(2, msp2_v1, 5, 3, &clk_msp02clk); | 373 | static DEFINE_PRCC_CLK(2, msp2_v1, 5, 3, &clk_msp02clk); |
374 | static DEFINE_PRCC_CLK(2, sdi4_v1, 4, 2, &clk_sdmmcclk); | 374 | static DEFINE_PRCC_CLK(2, sdi4_v1, 4, 2, &clk_sdmmcclk); |
375 | static DEFINE_PRCC_CLK(2, pwl_v1, 3, 1, NULL); | 375 | static DEFINE_PRCC_CLK(2, pwl_v1, 3, 1, NULL); |
376 | static DEFINE_PRCC_CLK(2, spi1_v1, 2, -1, NULL); | 376 | static DEFINE_PRCC_CLK(2, spi1_v1, 2, -1, NULL); |
377 | static DEFINE_PRCC_CLK(2, spi2_v1, 1, -1, NULL); | 377 | static DEFINE_PRCC_CLK(2, spi2_v1, 1, -1, NULL); |
378 | static DEFINE_PRCC_CLK(2, i2c3_v1, 0, 0, &clk_i2cclk); | 378 | static DEFINE_PRCC_CLK(2, i2c3_v1, 0, 0, &clk_i2cclk); |
379 | 379 | ||
380 | /* Peripheral Cluster #3 */ | 380 | /* Peripheral Cluster #3 */ |
381 | static DEFINE_PRCC_CLK(3, gpio2, 8, -1, NULL); | 381 | static DEFINE_PRCC_CLK(3, gpio2, 8, -1, NULL); |
382 | static DEFINE_PRCC_CLK(3, sdi5, 7, 7, &clk_sdmmcclk); | 382 | static DEFINE_PRCC_CLK(3, sdi5, 7, 7, &clk_sdmmcclk); |
383 | static DEFINE_PRCC_CLK(3, uart2, 6, 6, &clk_uartclk); | 383 | static DEFINE_PRCC_CLK(3, uart2, 6, 6, &clk_uartclk); |
384 | static DEFINE_PRCC_CLK(3, ske, 5, 5, &clk_32khz); | 384 | static DEFINE_PRCC_CLK(3, ske, 5, 5, &clk_32khz); |
385 | static DEFINE_PRCC_CLK(3, sdi2, 4, 4, &clk_sdmmcclk); | 385 | static DEFINE_PRCC_CLK(3, sdi2, 4, 4, &clk_sdmmcclk); |
386 | static DEFINE_PRCC_CLK(3, i2c0, 3, 3, &clk_i2cclk); | 386 | static DEFINE_PRCC_CLK(3, i2c0, 3, 3, &clk_i2cclk); |
387 | static DEFINE_PRCC_CLK(3, ssp1_ed, 2, 2, &clk_i2cclk); | 387 | static DEFINE_PRCC_CLK(3, ssp1_ed, 2, 2, &clk_i2cclk); |
388 | static DEFINE_PRCC_CLK(3, ssp0_ed, 1, 1, &clk_i2cclk); | 388 | static DEFINE_PRCC_CLK(3, ssp0_ed, 1, 1, &clk_i2cclk); |
389 | static DEFINE_PRCC_CLK(3, ssp1_v1, 2, 2, &clk_sspclk); | 389 | static DEFINE_PRCC_CLK(3, ssp1_v1, 2, 2, &clk_sspclk); |
390 | static DEFINE_PRCC_CLK(3, ssp0_v1, 1, 1, &clk_sspclk); | 390 | static DEFINE_PRCC_CLK(3, ssp0_v1, 1, 1, &clk_sspclk); |
391 | static DEFINE_PRCC_CLK(3, fsmc, 0, -1, NULL); | 391 | static DEFINE_PRCC_CLK(3, fsmc, 0, -1, NULL); |
392 | 392 | ||
393 | /* Peripheral Cluster #4 is in the always on domain */ | 393 | /* Peripheral Cluster #4 is in the always on domain */ |
394 | 394 | ||
395 | /* Peripheral Cluster #5 */ | 395 | /* Peripheral Cluster #5 */ |
396 | static DEFINE_PRCC_CLK(5, gpio3, 1, -1, NULL); | 396 | static DEFINE_PRCC_CLK(5, gpio3, 1, -1, NULL); |
397 | static DEFINE_PRCC_CLK(5, usb_ed, 0, 0, &clk_i2cclk); | 397 | static DEFINE_PRCC_CLK(5, usb_ed, 0, 0, &clk_i2cclk); |
398 | static DEFINE_PRCC_CLK(5, usb_v1, 0, 0, NULL); | 398 | static DEFINE_PRCC_CLK(5, usb_v1, 0, 0, NULL); |
399 | 399 | ||
400 | /* Peripheral Cluster #6 */ | 400 | /* Peripheral Cluster #6 */ |
401 | 401 | ||
402 | /* MTU ID in data */ | 402 | /* MTU ID in data */ |
403 | static DEFINE_PRCC_CLK_CUSTOM(6, mtu1_v1, 8, -1, NULL, clk_mtu_get_rate, 1); | 403 | static DEFINE_PRCC_CLK_CUSTOM(6, mtu1_v1, 8, -1, NULL, clk_mtu_get_rate, 1); |
404 | static DEFINE_PRCC_CLK_CUSTOM(6, mtu0_v1, 7, -1, NULL, clk_mtu_get_rate, 0); | 404 | static DEFINE_PRCC_CLK_CUSTOM(6, mtu0_v1, 7, -1, NULL, clk_mtu_get_rate, 0); |
405 | static DEFINE_PRCC_CLK(6, cfgreg_v1, 6, 6, NULL); | 405 | static DEFINE_PRCC_CLK(6, cfgreg_v1, 6, 6, NULL); |
406 | static DEFINE_PRCC_CLK(6, dmc_ed, 6, 6, NULL); | 406 | static DEFINE_PRCC_CLK(6, dmc_ed, 6, 6, NULL); |
407 | static DEFINE_PRCC_CLK(6, hash1, 5, -1, NULL); | 407 | static DEFINE_PRCC_CLK(6, hash1, 5, -1, NULL); |
408 | static DEFINE_PRCC_CLK(6, unipro_v1, 4, 1, &clk_uniproclk); | 408 | static DEFINE_PRCC_CLK(6, unipro_v1, 4, 1, &clk_uniproclk); |
409 | static DEFINE_PRCC_CLK(6, cryp1_ed, 4, -1, NULL); | 409 | static DEFINE_PRCC_CLK(6, cryp1_ed, 4, -1, NULL); |
410 | static DEFINE_PRCC_CLK(6, pka, 3, -1, NULL); | 410 | static DEFINE_PRCC_CLK(6, pka, 3, -1, NULL); |
411 | static DEFINE_PRCC_CLK(6, hash0, 2, -1, NULL); | 411 | static DEFINE_PRCC_CLK(6, hash0, 2, -1, NULL); |
412 | static DEFINE_PRCC_CLK(6, cryp0, 1, -1, NULL); | 412 | static DEFINE_PRCC_CLK(6, cryp0, 1, -1, NULL); |
413 | static DEFINE_PRCC_CLK(6, rng_ed, 0, 0, &clk_i2cclk); | 413 | static DEFINE_PRCC_CLK(6, rng_ed, 0, 0, &clk_i2cclk); |
414 | static DEFINE_PRCC_CLK(6, rng_v1, 0, 0, &clk_rngclk); | 414 | static DEFINE_PRCC_CLK(6, rng_v1, 0, 0, &clk_rngclk); |
415 | 415 | ||
416 | /* Peripheral Cluster #7 */ | 416 | /* Peripheral Cluster #7 */ |
417 | 417 | ||
418 | static DEFINE_PRCC_CLK(7, tzpc0_ed, 4, -1, NULL); | 418 | static DEFINE_PRCC_CLK(7, tzpc0_ed, 4, -1, NULL); |
419 | /* MTU ID in data */ | 419 | /* MTU ID in data */ |
420 | static DEFINE_PRCC_CLK_CUSTOM(7, mtu1_ed, 3, -1, NULL, clk_mtu_get_rate, 1); | 420 | static DEFINE_PRCC_CLK_CUSTOM(7, mtu1_ed, 3, -1, NULL, clk_mtu_get_rate, 1); |
421 | static DEFINE_PRCC_CLK_CUSTOM(7, mtu0_ed, 2, -1, NULL, clk_mtu_get_rate, 0); | 421 | static DEFINE_PRCC_CLK_CUSTOM(7, mtu0_ed, 2, -1, NULL, clk_mtu_get_rate, 0); |
422 | static DEFINE_PRCC_CLK(7, wdg_ed, 1, -1, NULL); | 422 | static DEFINE_PRCC_CLK(7, wdg_ed, 1, -1, NULL); |
423 | static DEFINE_PRCC_CLK(7, cfgreg_ed, 0, -1, NULL); | 423 | static DEFINE_PRCC_CLK(7, cfgreg_ed, 0, -1, NULL); |
424 | 424 | ||
425 | static struct clk clk_dummy_apb_pclk; | 425 | static struct clk clk_dummy_apb_pclk; |
426 | 426 | ||
@@ -523,7 +523,7 @@ static struct clk_lookup u8500_ed_clks[] = { | |||
523 | 523 | ||
524 | static struct clk_lookup u8500_v1_clks[] = { | 524 | static struct clk_lookup u8500_v1_clks[] = { |
525 | /* Peripheral Cluster #1 */ | 525 | /* Peripheral Cluster #1 */ |
526 | CLK(i2c4, "nmk-i2c.4", NULL), | 526 | CLK(i2c4, "nmk-i2c.4", NULL), |
527 | CLK(spi3_v1, "spi3", NULL), | 527 | CLK(spi3_v1, "spi3", NULL), |
528 | CLK(msp1_v1, "msp1", NULL), | 528 | CLK(msp1_v1, "msp1", NULL), |
529 | 529 | ||