[PATCH] phy: ralink: phy-mt7621-pci: drop 'of_match_ptr' to fix -Wunused-const-variable

Vinod Koul vkoul at kernel.org
Wed Jun 2 22:48:32 PDT 2021


On 03-06-21, 06:32, Sergio Paracuellos wrote:
> The of_device_id is included unconditionally by of.h header and used
> in the driver as well. Remove of_match_ptr to fix W=1 compile test
> warning with !CONFIG_OF:

Applied, thanks

-- 
~Vinod



More information about the linux-phy mailing list