Hi Anton, > Since no sane driver will ever match specific devices, what we want is > to select most generic option (last). Then driver may call > of_device_is_compatible() if it is really interested in details.
My original intention was to have alias entries for specific devices in the i2c device drivers. Later, Jean decided to only have the most generic names in there (like in http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;f=drivers/media/video/tvaudio.c;h=c77914d99d15c5972c94e9763a08b5789098e90a;hp=6f9945b04e1f2bcd676f0ed8dc910994b29ed300;hb=ae429083efe996ca2c569c44fd6fea440676dc33;hpb=60b129d7bfa3e20450816983bd52c49bb0bc1c21) So your patch is correct. > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> Acked-by: Jochen Friedrich <[EMAIL PROTECTED]> Thanks, Jochen _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev