MarvellEmbeddedProcessors / linux-marvell

Marvell Linux kernel
Other
91 stars 68 forks source link

net: mvpp2x: change driver name to avoid registration error #6

Open semihalf-duszynski-tomasz opened 7 years ago

semihalf-duszynski-tomasz commented 7 years ago

In case both mvpp2 and mvpp2x are compiled into the kernel during boot one will get following error from driver_register():

Error: Driver 'mvpp2' is already registered, aborting..

That happens because both drivers have name set to 'mvpp2'. This patch fixes that by changing mvpp2x driver's name to 'mvpp2x'.

Signed-off-by: Tomasz Duszynski tdu@semihalf.com