[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
So I went and patched all that and it busted

/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:579: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:579: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:580: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:580: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:580: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:580: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:580: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:580: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:580: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:581: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:581: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:581: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:581: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:581: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:581: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:581: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:582: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:582: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:582: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:582: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:582: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:582: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:582: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:583: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:583: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:583: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:583: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:583: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:583: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:583: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:584: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:584: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:584: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:584: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:584: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:584: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:584: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:585: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:585: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:585: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:585: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:585: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:585: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:585: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:586: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:586: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:586: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:586: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:586: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:586: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:586: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:587: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:587: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:587: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:587: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:587: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:587: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:587: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:588: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:588: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:588: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:588: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:588: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:588: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:588: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:589: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:589: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:589: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:589: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:589: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:589: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:589: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:590: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:590: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:590: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:590: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:590: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:590: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:590: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:591: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:591: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:591: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:591: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:591: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:591: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:591: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:592: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:592: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:592: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:592: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:592: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:592: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:592: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:593: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:593: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:593: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:593: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:593: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:593: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:593: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:594: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:594: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:594: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:594: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:594: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:594: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:594: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:595: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:595: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:595: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:595: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:595: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:595: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:595: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:596: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:596: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:596: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:596: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:596: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:596: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:596: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:597: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:597: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:597: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:597: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:597: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:597: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:597: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:598: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:598: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:598: warning: initialization from incompatible pointer type
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:598: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:598: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:598: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:598: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:599: warning: braces around scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:599: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:599: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:599: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:599: warning: excess elements in scalar initializer
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:599: warning: (near initialization for 'mddi_regs_list')
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:603: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:615: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:632: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:672: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:696: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:715: error: storage class specified for parameter 'pmdh_fops'
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:715: error: parameter 'pmdh_fops' is initialized
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:716: error: 'mddi_reg_open' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:717: error: 'mddi_reg_release' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:718: error: 'pmdh_reg_read' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:719: error: 'pmdh_reg_write' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:727: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:751: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:769: error: storage class specified for parameter 'emdh_fops'
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:769: error: parameter 'emdh_fops' is initialized
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:772: error: 'emdh_reg_read' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:773: error: 'emdh_reg_write' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:783: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:790: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:799: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:808: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:862: error: storage class specified for parameter 'dbg_base_fops'
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:862: error: parameter 'dbg_base_fops' is initialized
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:863: error: 'dbg_open' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:864: error: 'dbg_release' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:865: error: 'dbg_base_read' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:866: error: 'dbg_base_write' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:874: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:908: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:928: error: storage class specified for parameter 'dbg_off_fops'
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:928: error: parameter 'dbg_off_fops' is initialized
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:931: error: 'dbg_offset_read' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:932: error: 'dbg_offset_write' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:941: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:968: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1025: error: storage class specified for parameter 'dbg_reg_fops'
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1025: error: parameter 'dbg_reg_fops' is initialized
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1028: error: 'dbg_reg_read' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1029: error: 'dbg_reg_write' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1033: error: storage class specified for parameter 'hdmi_offset'
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1034: error: storage class specified for parameter 'hdmi_count'
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1037: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1044: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1053: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1085: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1105: error: storage class specified for parameter 'hdmi_off_fops'
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1105: error: parameter 'hdmi_off_fops' is initialized
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1106: error: 'hdmi_open' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1107: error: 'hdmi_release' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1108: error: 'hdmi_offset_read' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1109: error: 'hdmi_offset_write' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1118: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1149: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1206: error: storage class specified for parameter 'hdmi_reg_fops'
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1206: error: parameter 'hdmi_reg_fops' is initialized
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1209: error: 'hdmi_reg_read' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1210: error: 'hdmi_reg_write' undeclared (first use in this function)
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1220: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/hdmi_msm.h:142: error: old-style parameter declarations in prototyped function definition
/home/wantowan2/sb2/kernel/samsung/msm8660-common/drivers/video/msm/mdp_debugfs.c:1336: error: expected '{' at end of input
make[5]: *** [drivers/video/msm/mdp_debugfs.o] Error 1
make[4]: *** [drivers/video/msm] Error 2
make[3]: *** [drivers/video] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/wantowan2/sb2/kernel/samsung/msm8660-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2

Who knows, I probably screwed it somehow

Have you patched these in marla already? Are they the same as in moretz?