You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch as usual. =================================================================== ChangeSet@1.797.106.6, 2002-11-23 15:26:52-02:00, acme@conectiva.com.br o drivers/net/setup.c: fix special_device_init struct initialization struct net_device changed, making sb1000_probe not match with the .init position, convert it to C99 initializers so that doesn't happens anymore when net_device changes again. setup.c | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff -Nru a/drivers/net/setup.c b/drivers/net/setup.c --- a/drivers/net/setup.c Fri Dec 6 23:17:58 2002 +++ b/drivers/net/setup.c Fri Dec 6 23:17:58 2002 @@ -142,14 +142,13 @@ static void __init special_device_init(void) { #ifdef CONFIG_NET_SB1000 - { - extern int sb1000_probe(struct net_device *dev); - static struct net_device sb1000_dev = - { - "cm0" __PAD3, 0x0, 0x0, 0x0, 0x0, 0, 0, 0, 0, 0, NULL, sb1000_probe - }; - register_netdev(&sb1000_dev); - } + extern int sb1000_probe(struct net_device *dev); + + static struct net_device sb1000_dev = { + .name = "cm0" __PAD3, + .init = sb1000_probe, + }; + register_netdev(&sb1000_dev); #endif } =================================================================== This BitKeeper patch contains the following changesets: 1.797.106.6 ## Wrapped with gzip_uu ## begin 664 bkpatch18567 M'XL(`$9,\3T``^U576_3,!1]CG_%U2;!@#6UG>],16,;`C0DJJ&](56N8QK3 MQ:YBK]L@_'=NNFEC6V%B@C<22W%\XW./S[U'V81CI]HR$+)19!/>6N?+0%JC MI-=+$4K;A-,6`T?68F!8VT8-]PZ'C79RP,.$8&@LO*QAJ5I7!BR,KE?\Q4*5 MP='K-\?O7QT1,AK!?BW,3'U4'D8CXFV[%">5VQ6^/K$F]*TPKE%^E;2[_K3C ME'*\$Y9%-$D[EM(XZR2K&!,Q4Q7E<9[&I.>_>Y?W'13&>,0R5K"D2Z(BR\D! ML#`KLI#1-$R!\B%C0QX!2TJ>E@D?4%Y2"FNAX06#`25[\'>/L4\D6*A:WNCG&-)?A=?6(`R.JQ#" M7.T`N>)3;4,CYMK,P$T9I72R:.U4@;$>U_O2G6F/]:L58H2K)`OK=(^[#2@$ M0Q'$2D?%-MY#!'UZ$4$')RP=JLT;EGZH44\JP2DF6=SF=\B)C+,^5D'): MK.^(7^)=MAU/XZ+K:YROK+#FXX=-\6C&Y$NEYVIW+EIQ\0!43F/*.(_3+BZ* M+%IY)+GKC;CXO3)TDC[#,`8L3R,D[EG#( M2*#.O6H-'L#?$F+KOF[/\?ELAWPB@?,H\#IIKQ#P#4;PC01!:$2C<+XA&[H! MD\GXU4&TW:^O%!W=2HGKWW=(T*J9=LAI@K@(M/7D!A2S7_]U9*WDW)TVHT(4 .!:TJ17X`/;#E?^,&```` ` end