1. Disengage clips using a tape-wrapped flathead screwdriver.

2. Pull the side panel toward you, then disengage tabs from dashboard, and remove the side panel.
3. Install in the reverse order of removal.
Dashboard disassembly/assembly
Column cover removal/installationMazda 6 Service Manual: Warranties for Your Mazda
New Vehicle Limited Warranty
Powertrain Limited Warranty
Safety Restraint System Limited Warranty
Anti-perforation Limited Warranty
Federal Emission Control Warranty/California Emission Control Warranty
Emission Defect Warranty
Emission Performance Warranty
Emission Control Warranty ...
Mazda 6 Service Manual: Cargo compartment light switch inspection
1. Remove the liftgate lower trim. (See LIFTGATE LOWER TRIM
REMOVAL/INSTALLATION)
2. Disconnect the cargo compartment light switch connector.
3. Inspect for continuity between the cargo compartment light switch
terminals using an ohmmeter.
If not as specified, replace the liftgate lock.
...